I have a url that is encoded in javascript using encodeURI function:
javascript code:
encodeURI("form.asp?opt=" + ai_opt + "&val=" + escape(ls_val) + "&col=" + as_col + "&sg=" + ls_sg + "&oldval=" + escape(ls_old_val)
Sample Output:
/form.asp?opt=1&val=Field%2520Fisher%2520Waterhouse%2开发者_如何学运维520%2528London%2529&col=loc
How to decode the query string values in server side using classic asp?
I should able to extract correct values from query strings:
opt = 1
val = Field Fisher Waterhouse (London)
col = loc
If you natively read the query string value, it should already be decoded.
For example: Request.QueryString("val")
.
精彩评论