.net报错----A potentially dangerous Request.Form value was detected from the client

问题    .net项目,项目表单里面需要提交带有<strong></strong>或者<br/>这种带有html标签的字符串,提交标签时候就会出现A potentially dangerous Request.Form value was detected from the client错误,如下面截图: 原因     默认情况下,ASP.NET中所有的输入控件会对引发跨站点脚本和SQL注入攻击
相关文章
相关标签/搜索