Error: A potentially dangerous Request.Form value was detected from the client when editing content in the Workarea

  • Updated

A potentially dangerous Request.Form value was detected from the client error may occur when you edit content in the Workarea.

Modify workarea/web.config to allow validation as follows:

1. Open siteroot/workarea/web.config.
2. Find the <system.web></system.web> section.
3. Under <pages styleSheetTheme="" validateRequest="false" /> add <httpRuntime requestValidationMode="2.0" /> .
4. Save the file.

The code should look as follows:

<system.web>
<pages styleSheetTheme="" validateRequest="false" />
<httpRuntime requestValidationMode="2.0" />
</system.web>