How to get a querystring when it is URLEncoded or has percent characters in ASP.NET

前端 未结 4 2130
Happy的楠姐
Happy的楠姐 2021-01-15 09:50

How to get the actual querystring from the Request object when the querystring is UrlEncoded or has percent characters in ASP.NET?

Basicly, if I have a Url like t

4条回答
  •  时光取名叫无心
    2021-01-15 10:15

    I had the same problem. I solved it just by adding in javascript "escape('text % text')" while contructing the querystring!

提交回复
热议问题