从客户端(&)检测到潜在危险的Request.Path值? [英] A potentially dangerous Request.Path value was detected from the client (&)?
本文介绍了从客户端(&)检测到潜在危险的Request.Path值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
从客户端(&)检测到一个潜在危险的Request.Path值。当我使用&动态添加一个asp.net页面时会发生这种情况。 symbol..i使用.net 4.0框架工作..还在网络配置中使用了一些程序但服务器没有加载..我添加的程序如下:
< system.web >
< httpRuntime requestPathInvalidCharacters = & lt;,& gt;,%,& amp;,:,\,? / >
< < span class =code-leadattribute> / system.web >
解决方案
参考:得到-A-潜在危险请求路径 - 值被检测到的从 - 所述客户端 [< a href =http://stackoverflow.com/questions/6025522/getting-a-potentially-dangerous-request-path-value-was-detected-from-the-clienttarget =_ blanktitle =New Window > ^ ]
A potentially dangerous Request.Path value was detected from the client (&).it occur when i was add a asp.net page dynamically using & symbol..i used .net 4.0 frame work..still am used some programs in web config but server is not loaded..my added programs are given below..
<system.web>
<httpRuntime requestPathInvalidCharacters="<,>,%,&,:,\,?" />
</system.web>
解决方案
Refer: getting-a-potentially-dangerous-request-path-value-was-detected-from-the-client[^]
这篇关于从客户端(&)检测到潜在危险的Request.Path值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文