By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,867 Members | 1,981 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,867 IT Pros & Developers. It's quick & easy.

URL %3F and %3D problem Need help

P: n/a
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%3FOrderByName%3DC

It says page not found....

If I change the URL to test.asp?OrderByName=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
Oct 21 '10 #1
Share this Question
Share on Google+
2 Replies


danp129
Expert 100+
P: 321
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.
Oct 21 '10 #2

jhardman
Expert 2.5K+
P: 3,405
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
Oct 21 '10 #3

Post your reply

Sign in to post your reply or Sign up for a free account.