468,510 Members | 1,718 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,510 developers. It's quick & easy.

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%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
2 2917
danp129
321 Expert 100+
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
3,405 Expert 2GB
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.

Similar topics

reply views Thread by Gregory Nans | last post: by
reply views Thread by xunling | last post: by
7 posts views Thread by Timothy Shih | last post: by
8 posts views Thread by Elliot M. Rodriguez | last post: by
3 posts views Thread by Rich Squid | last post: by
2 posts views Thread by XML Beginner | last post: by
2 posts views Thread by =?Utf-8?B?am9lb2ppaA==?= | last post: by
1 post views Thread by jhaydon | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by fmendoza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.