Questions tagged [request-validation]

79 questions
0
votes
1 answer

A potentially dangerous Request.Form value was detected from the client in .Net 4

So, this whitepaper describes one of the breaking changes in .Net 4 to be the error message "A potentially dangerous Request.Form value was detected from the client in", and the fix to enter into the Web.config file I have 2 problems with this. …
Paul
  • 9,409
  • 13
  • 64
  • 113
0
votes
1 answer

HttpRequestValidationException in Orchard CMS

Using Orchard 1.9 from GitHub, if I attempt to force a page validation exception by navigating to ~/Users/Account/LogOn?ReturnUrl=
Lance H
  • 61
  • 6
0
votes
1 answer

Potentially dangerous characters in Request Parameters (not Request.Path!)

There are lots of questions on this topic but I didn't find one for our special case ... We have a productive site running and once in a while - about 5 to 10 times a day - we receive error notifications about potentially dangerous Request.Path…
jor
  • 2,058
  • 2
  • 26
  • 46
0
votes
1 answer

asmx skips request validation when receive post from jQuery.ajax with dataType: "json"

I have an ASP.NET Web Service (asmx) function with string parameters. The built in request validation should catch HTML tags and it works when using the auto generated localhost test page or with jQuery's ajax/post if dataType is not set to json…
LZW
  • 1,035
  • 2
  • 10
  • 13
1 2 3 4 5
6