IntegrationTests - потенциально опасное значение Request.Path было обнаружено от клиента
Я получаю эту ошибку:A potentially dangerous Request.Path value was detected from the client (?).
когда этот URI:http://www.site.com/%3f
.
Как я могу написать интеграционные тесты для всех ошибок этого типа?
Я хочу проверить все эти ошибки:
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