c# - how to stop asp.net encrypting the querystring -
i have requirement have pass values next page via querystring. querystring coming third party , need have on otherpage analysis.
i response.redirect , add querystring recieve them other page. problem .net environment encoding/encrypting of special characters used them dont want not bring correct values in new page.
example:
passed url :
abcd.efgh=testing|value1=rtedf%20value2%202010-04-07%207pm|value3=aaaa
this gets changed
abcd.efgh=testing|value1%3drtedf+value2+2010-04-07+7pm|value3%3daaaa
it looks "=" becomes "%3d" , "%20" space becomes "+"
how can stop encoding of url , pass in original form.
your querystrings being url encoded. standard behaviour due how urls should formatted. need on receiving page use urldecode in order original string.
Comments
Post a Comment