IntegrationTests - A potentially dangerous Request.Path value was detected from the client
- by stacker
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 a integration test for 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 value was detected from the client