开发者

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

开发者 https://www.devze.com 2022-12-30 01:07 出处:网络
I get this error: A potentially dangerous Request.Path value was detected from the client (?). when this URI: http://www.site.com/%3f.

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

精彩评论

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