URL %3F and %3D problem Need help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hugo botha

    URL %3F and %3D problem Need help

    Hi,

    I did a search on the net and found your totorial page about encoding and decoding....

    I have a bit of a problem and hope you can give me a answer or guidence to where I can look for this because I can not find anything on the net.

    Some whebsites is linking to my site using the %3F and %3D signs..

    test.asp%3FOrde rByName%3DC

    It says page not found....

    If I change the URL to test.asp?OrderB yName=C then it works fine...

    What I want to know, is do I need to set the server somewhere that it know it must decode or uncode the URL ?

    I have a Windows 2008 Server and runing normal ASP pages....

    I get this offton from other sites but these links show pages not found...

    Can you help ?

    Thank you.

    Hugo
  • danp129
    Recognized Expert Contributor
    • Jul 2006
    • 323

    #2
    Setup a custom 404 page in IIS and have it point to a new asp page.
    Code the new page to look at the URL requested and if it's one of the messed up URL's, have it fix it and redirect to the correct URL. Try not to create an infinite loop transferring to non-existent pages.

    Comment

    • jhardman
      Recognized Expert Specialist
      • Jan 2007
      • 3405

      #3
      Danp129 is correct. The issue is that the %3D etc indicates to the server that it SHOULD interpret that as part of the web page. Dan's solution might be the best, but I would also suggest finding out where those jumbled addresses are coming from and correcting them on the source.

      Jared

      Comment

      Working...