Description:Getting the following error in my mvc 4 application after deployment 'A potentially dangerous Request.Form value was detected from the client' on inserting html through my input boxes, i want to allow the html to be inserted.
Posted by: Junaid Aziz | Posted on: Jan 02, 2018
2
-add [ValidateInput(false)] attribute on the the controller 's method as shown
-Or you can add [AllowHtml] attribute on your model's property as shown.
Replied by: Tabish Usman | Replied on: Jan 04, 2018