在asp,net中使用fckeditor时出错 [英] Error when use of fckeditor in asp,net

查看:88
本文介绍了在asp,net中使用fckeditor时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我使用编辑器内容并提交数据,我将收到一个FCKEDITOR错误

如何解决?



服务器/ site应用程序出错。

从客户端检测到一个潜在危险的Request.Form值(fck_Edit =< img src =/ FactoryX ....)。

描述:请求验证检测到潜在危险的客户端输入值,并且请求的处理已中止。此值可能表示试图破坏应用程序的安全性,例如跨站点脚本您可以通过在Page指令或配置部分设置validateRequest = false来禁用请求验证。但是,强烈建议您的应用程序在这种情况下明确检查所有输入。



异常详细信息:System.Web.HttpRequestValidationException:从客户端检测到一个潜在危险的Request.Form值(fck_Edit =

来源错误:





[没有相关的源代码行]

I TAKE ONE FCKEDITOR IF I USE EDITOR CONTENT AND SUBMIT DATA ITS RETURN BELOW ERROR
How can i resolve it?

Server Error in ''/site'' Application.
A potentially dangerous Request.Form value was detected from the client (fck_Edit="<img src="/FactoryX....").
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 (fck_Edit="
Source Error:


[No relevant source lines]

推荐答案

在发布前尝试base64编码您的fckeditor内容
try base64 encoding your fckeditor contents before posting


这篇关于在asp,net中使用fckeditor时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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