开发者

IntegrationTests - A potentially dangerous Request.Path value was detected from the client

I get this error: A potentially dangerous Request.Path value was detected from the client (?). when this URI: http://www.site.com/%3f.

How can I write an integration tests around of all of this type of errors?

I want to test against all this erros:

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 val开发者_开发技巧ue was detected from the client
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜