A potentially dangerous Request.Form value was detected from the client - ASP.NET MVC

Viewed 45410

I am getting this error in my ASP.NET MVC application where I am taking HTML input from a WYSIWYG so I don't want the content validated.

I have attempted the solution I found here but it seems to make no difference in my MVC application. I have also tried doing it in the web.config but again - no joy.
Is this a bug in ASP.NET MVC or something?

5 Answers

use <httpRuntime requestValidationMode="2.0" /> in web config

Related