输入参数列表,这将导致"检测到有潜在危险的Request.Form值..."错误 [英] List of Input Values which will cause the "A potentially dangerous Request.Form value was detected..." error
问题描述
我知道在< 和> 字符会导致此错误,但是其他字符/输入,将导致此错误 ? P>
我测试了在Global.asax这个错误,reridrecting的地方,我想列出这导致此错误的所有可能的值的错误页面,这样用户就可以回到自己的网页,并摆脱他们。
我已经做了一些google搜索,但我看到的,到目前为止是在< 和> 人物......当然还有更多的在那里。
ASP.NET有助于防止了被伪装成URL的脚本漏洞
检查潜在危险的字符串,如&所述;!,&所述; /,和&所述;?。
http://msdn.microsoft.com/en-us/library/ w1sw53ds.aspx
从:http://msdn.microsoft.com/en-us/library/system.web.htt$p$pquestvalidationexception.aspx
I know the < and > characters will cause this error, but what other characters/inputs will cause this error?
I'm testing for this error in the Global.asax, and reridrecting to an error page where I want to list all possible values which cause this error, so the user can go back to their page and get rid of them.
I've done some googling, but all I see so far are the < and > characters...surely there are more out there.
ASP.NET helps protect against script exploits that are disguised as URLs by
checking for potentially dangerous strings, such as "<!", "</", and "<?".
http://msdn.microsoft.com/en-us/library/w1sw53ds.aspx
from: http://msdn.microsoft.com/en-us/library/system.web.httprequestvalidationexception.aspx
这篇关于输入参数列表,这将导致&QUOT;检测到有潜在危险的Request.Form值...&QUOT;错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!