我收到此错误:A potentially dangerous Request.Path value was detected from the client (?).
当此 URI: 时http://www.site.com/%3f
。
如何围绕所有此类错误编写集成测试?
我想针对所有这些错误进行测试:
A potentially dangerous Request.Path value was detected from the client
A potentially dangerous Request.Cookies value was detected from the client
A potentially dangerous Request.Form value was detected from the client
A potentially dangerous Request.QueryString value was detected from the client