IntegrationTests - 从客户端检测到潜在危险的Request.Path值

时间:2010-05-14 00:06:50

标签: asp.net-mvc-2 integration-testing web-config asp.net-4.0

我收到此错误: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

0 个答案:

没有答案