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

In Web Config ,


Add this to <system.web> tag :


<httpRuntime requestValidationMode="2.0"/>

<configuration>
    <system.web>
        <pages validateRequest="false" />
    </system.web>
</configuration>


你可能感兴趣的:(request)