天天看点

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

有些网站程序选择net2.0首页访问正常  后台操作报net版本错误,选择net4.0首页访问报net版本错误,但是后台操作正常

修改网站程序的web.config配置文件

A potentially dangerous Request.Form value was detected from the client
圈起来的两行

<system.web>
    <compilation debug="true" targetFramework="4.0"/>
    <httpRuntime requestValidationMode="2.0"/></system.web>      

继续阅读