Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/81.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
CKEditor 4将HTML保存到数据库_Html_Sql_Content Management System_Ckeditor_Asp.net 4.0 - Fatal编程技术网

CKEditor 4将HTML保存到数据库

CKEditor 4将HTML保存到数据库,html,sql,content-management-system,ckeditor,asp.net-4.0,Html,Sql,Content Management System,Ckeditor,Asp.net 4.0,谢谢你提前看了我的问题 我正在尝试将ckeditor的内容保存到数据库中。我得到以下错误: A potentially dangerous Request.Form value was detected from the client (ctl00$ctl00$mainContent$rightContent$ctl00$txtContent="<p> Look for a pla..."). 潜在危险的请求。从客户端检测到表单值(ctl00$ctl00$mainContent$

谢谢你提前看了我的问题

我正在尝试将ckeditor的内容保存到数据库中。我得到以下错误:

 A potentially dangerous Request.Form value was detected from the client (ctl00$ctl00$mainContent$rightContent$ctl00$txtContent="<p> Look for a pla...").
潜在危险的请求。从客户端检测到表单值(ctl00$ctl00$mainContent$rightContent$ctl00$txtContent=“查找pla…”)。
我做了一些研究,大多数解决方案是针对旧版本的软件或是不安全的


我正在使用ASP.NET 4.0,希望您能给我一些建议。

试试这些:这解决了问题吗?这是很常见的。只需禁用默认检查并编写自己的Html过滤器属性或类似属性。