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

Link to comment
Share on other sites

[!--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 ;-)
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.