错误:从客户端(content="<p>asdfaqdf ad</p>")中检测到有潜在危险的 Request.Form 值。
1.httpRuntime 节点添加requestValidationMode="2.0"
修改web.config
<system.web>
...
<httpRuntime requestValidationMode="2.0" />
2.Controller中添加[ValidateInput(false)]
[ValidateInput(false)]
public ActionResult Add(string id)
{
}