天天看點

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>      

繼續閱讀