A.R*_*.R. 15
以下是导致错误的实际完整输入列表:
<(any a-z character)
<!
</
<?
&#
Run Code Online (Sandbox Code Playgroud)
请注意,它自己的"<"上的尖括号不会导致异常.
有一个类似的问题有一个更完整的答案,包括一些代码,这是我从中派生列表.
当然,如果你担心的话,你可以随时在这里寻找其余部分.
Gle*_*lar -2
ASP.NET helps protect against script exploits that are disguised as URLs by
checking for potentially dangerous strings, such as "<!", "</", and "<?".
Run Code Online (Sandbox Code Playgroud)
http://msdn.microsoft.com/en-us/library/w1sw53ds.aspx
来自: http: //msdn.microsoft.com/en-us/library/system.web.httprequestvalidationexception.aspx
更新:这个答案基于.net 4.0。;有关更新的标签,请参阅/sf/answers/1778360251/
归档时间: |
|
查看次数: |
6234 次 |
最近记录: |