potentially dangerous Request.Form value on BodyPart

Topics: Troubleshooting
Developer
May 11, 2011 at 9:55 PM

Hey All..

I have Item with a body part attached to it... this body part is shown not within the admin page but within the normal Themed site....

When I type in text within the body and post back I get this - A potentially dangerous Request.Form value was detected from the client (Body.Text="<p>wsfdsafdsaf</p>").

Ideas?

Cheers, Nick

Developer
May 11, 2011 at 10:02 PM

Try to add

[ValidateInput(false)]

 to the controller.