href查询字符串有问题 [英] Problem with href query string
本文介绍了href查询字符串有问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我对此网址的查询字符串有疑问,
当我托管此查询字符串"page = videos& section = view"时被解析为"page =videos§ion= view"
所以我的链接不起作用,我该怎么办?
例如:http://www.samplewebsite.com/index.aspx?page=videos§ion=view&vid_id=100092""
I''ve a problem with this url''s query string,
when i host this the query string "page=videos§ion=view" is parsed as "page=videos§ion=view"
so my link is not working, what shall i do?
eg: http://www.samplewebsite.com/index.aspx?page=videos§ion=view&vid_id=100092"
推荐答案
看一下: http://www.andreas.com/faq-char.html [
look at this: http://www.andreas.com/faq-char.html[^]
§ gets translated to hex 167.
这将返回什么:
What does this return:
string page = Request.QueryString.Item("page");
string section = Request.QueryString.Item("section");
string videoID = Request.QueryString.Item("vid_id");
这篇关于href查询字符串有问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文