24 January, 2006

ASP.NET potentially dangerous Request.Form value

Everytime I get the ”A potentially dangerous Request.Form value was detected from the client”-error I seem to spend a couple of minutes to find the name of the web.config property to allow posts containing HTML-tags. So I’m just gonna put it here so I know where to find it the next time.

<configuration>
    <system.Web>
        <pages validateRequest=”false” />
    </system>
</configurati>


Tags: