Jump to content

is it possible to pass the & symbol to the address bar using GET


darga333

Recommended Posts

for instance..

you have a file name that has an & in it and you try downloading it you cant find the file cause it stops at getWebsiteUp, it cant seem to get the & because the address bar processes &'s differnetly

filedownnload.php?action=download&filename=getWebsiteUp&ampRunning.doc

[!--quoteo(post=372761:date=May 9 2006, 11:02 PM:name=Crayon Violent)--][div class=\'quotetop\']QUOTE(Crayon Violent @ May 9 2006, 11:02 PM) [snapback]372761[/snapback][/div][div class=\'quotemain\'][!--quotec--]
try this:

<a href="blah.php?value=blah1<%=Server.URLEncode("&")%>blah2">click me</a>


[/quote]

ASP !? Tempted to issue a warning for use of foul language ;-)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.