0

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.

Kaan
  • 902
  • 2
  • 16
  • 38

1 Answers1

0

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

Community
  • 1
  • 1
jean27
  • 701
  • 8
  • 25
  • I did everything on this question but didn't help me. And yes I'm posting a values look like HTML. – Kaan Aug 03 '10 at 07:05