Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Andy 8 posts 85 karma points
    Dec 20, 2013 @ 01:56
    Andy
    0

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

    Using Umbraco 6.1.6 CMS console on a new project to save data from a rich text field I encountered the error:

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

    Environment included uSiteBuilder 1.2 and Umbraco 6.1.6 (fresh install)

  • Andy 8 posts 85 karma points
    Dec 20, 2013 @ 01:56
    Andy
    100

    I found various posts on this suggesting to use <httpRuntime requestValidationMode="2.0" /> in <system.web> in web.config and also to set enableEventValidation="false" on the <pages> directive.

    The solution for me, on top of doing the above, was to remove the attribute controlRenderingCompatibilityVersion="4.0" from the <pages> directive.

    Final config which fixed the issue looked like this:

    <httpRuntime requestValidationMode="2.0" enableVersionHeader="false" />

        <pages enableEventValidation="false">

  • samunder singh 1 post 50 karma points
    Feb 21, 2014 @ 07:15
Please Sign in or register to post replies

Write your reply to:

Draft