Error: A potentially dangerous Request.Form value was detected from the client

An error occurs when saving a form that includes HTML tags.  This is error is produced by a security layer to intended to prevent XSS attacks and will appear when submitting HTML tags in most form fields.  There are a few fields that support HTML tags including the description fields for courses, events, plans, and resources.  If your seeing this error when submitting a form that is intended to support HTML tags, you may need to update the requestValidationMode in the web.config from 2.0 to 4.5.

Applies To

UniversitySite

Intended Audience

System administrators

Steps to Reproduce

1. Change the web.config: requestValidationMode="2.0"

2. Edit a course and add <b>bold text</bold> to the description

Resolution

Change the web.config: requestValidationMode="4.5"

Still need help? Contact Us Contact Us