I'm using ASP.NET MVC2 and what I did didn'T help me to get rid of this exception.
I put
[ValidateInput(false)]
before the conntroller, changed web.config but again getting this exception. What I should do?
EDIT: I'm posting HTML values.
I'm using ASP.NET MVC2 and what I did didn'T help me to get rid of this exception.
I put
[ValidateInput(false)]
before the conntroller, changed web.config but again getting this exception. What I should do?
EDIT: I'm posting HTML values.
Maybe your form contains values that look like HTML such as brackets.
Please check this link: A potentially dangerous Request.Form value was detected from the client