插入html问题

wjcking wjcking 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
关于插入html问题
别人的.NET是1.1英文版 如果把一些html语句,写入倒文本框里,然后在写入数据库,他就会提示错误, 我的是中文版的1.0插入html就没事,这怎么处理?

Server Error in '/' Application.
--------------------------------------------------------------------------------

A potentially dangerous Request.Form value was detected from the client (tbxaddart="<img src="">").
Description: Request Validation has detected a potentially dangerous client input value, and processing of the request has been aborted. This value may indicate an attempt to compromise the security of your application, such as a cross-site scripting attack. You can disable request validation by setting validateRequest=false in the Page directive or in the configuration section. However, it is strongly recommended that your application explicitly check all inputs in this case.

Exception Details: System.Web.HttpRequestValidationException: A potentially dangerous Request.Form value was detected from the client (tbxaddart="<img src="">").

Source Error:
这该怎么办?有什么办法,大家帮忙看看
...全文

相关推荐

评论 3
收藏 已收藏
分享
返回顶部
wjcking
.NET社区 62,274 成员 668,968 内容