解决.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

相关文章
相关标签/搜索