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

Posted by stacker on Stack Overflow See other posts from Stack Overflow or by stacker
Published on 2010-05-14T00:06:49Z Indexed on 2010/05/14 0:14 UTC
Read the original article Hit count: 1130

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

© Stack Overflow or respective owner

Related posts about integration-testing

Related posts about asp.net-4.0