asp querystring character help





http://www.xxx.com?attachurl=https://www.domainname.com/{BCC9F5F0-7A3F-43B4-B393-FDAE2F7CE874}_testing.pdf

i have above url, and when I try to code like response.write "<a href=" & request.querystring("attachurl") & ">Print</a>"
it shows the following url with %7B and %7D. Do you know a way to it will show exactly inside of <a>?

http://www.xxx.com?attachurl=https://www.domainname.com/%7BBCC9F5F0-7A3F-43B4-B393-FDAE2F7CE874%7D_testing.pdf
Webboy2008Asked:
Who is Participating?
 
golfDoctorCommented:
Not sure I understand what you are asking, but could try this:

"<a href=""" & request.querystring("attachurl") & """>Print</a>"

However, this is correct: url with %7B and %7D, it;s just URL encoded.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.