Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to insert ck editor value to sql database. i am facing error like

System.Web.HttpRequestValidationException: A potentially dangerous Request.Form value was detected from the client (article_body=<p><br />
weqweqe</p>
Posted
Updated 10-May-11 2:15am
v2

1 solution

turn off ValidateRequest:

http://msdn.microsoft.com/en-us/library/system.web.configuration.pagessection.validaterequest.aspx[^]

just be aware that the input you receive after this change will be a lot less safe with regards to XSS:

http://en.wikipedia.org/wiki/Cross-site_scripting[^]

With that in mind, I'd only consider turning it off at the individual page level, and only where and when you really need to and have no alternatives.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900