解決.Net 4.0 A potentially dangerous Request.Form value was detected from the client 異常

在web.config中加入 web

<httpRuntime maxRequestLength="22000" executionTimeout="43200" requestValidationMode="2.0"/>io

特別是requestValidationMode="2.0" 很是重要request

相關文章
相關標籤/搜索