0
votes

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.

1

1 Answers

0
votes

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