请检查此错误 [英] Please Check this error

查看:108
本文介绍了请检查此错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我使用ckeditor并插入CKEditorControl1.Text之类的值,则显示如下错误:

If i used ckeditor and insert value like CKEditorControl1.Text then it shown error like this:

A potentially dangerous Request.Form value was detected from the client (ctl00$ContentPlaceHolder1$CKEditorControl1="<p>
bbbbbbbbbbbbbb...").



请帮助



Please help

推荐答案

ContentPlaceHolder1
ContentPlaceHolder1


CKEditorControl1 =" p > bbbbbbbbbbbbbb ...").
CKEditorControl1="<p> bbbbbbbbbbbbbb...").



请帮助



Please help


您的请求必须具有<或> ;,因此出现错误.

如果无法避免,请在页面指令或web.config文件中放入validateRequest="false".
此处的详细信息:向ASP.NET 1.0添加跨站点脚本保护 [讨论了相同的错误 [ ^ ]
Your request must be having a < or >, thus the error.

If you cannot avoid it, then put validateRequest="false" in your page directive or web.config file.
Details here: Adding Cross-Site Scripting Protection to ASP.NET 1.0[^]

If you read the article, you will get the reason and why it''s not suggestible.

Following few discussion, to read:
Same error discussed[^]
Same error discussed - 2[^]


这篇关于请检查此错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆