解决.Net 4.0 A potentially dangerous Request.Form value was detected from the client 异常
在web.config中加入
<httpRuntime maxRequestLength="22000" executionTimeout="43200" requestValidationMode="2.0"/>
特别是requestValidationMode="2.0" 非常重要
多思考,多创新,才是正道!