views:

398

answers:

0

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 value was detected from the client