Skip to content
This repository was archived by the owner on Jan 6, 2023. It is now read-only.

请问使用ueditor编辑的内容,post上传时被WAF(modsecurity)当作XSS攻击拦截了,该如何处理?#3258

Open
15020906625 wants to merge 1 commit intofex-team:dev-1.5.0from
15020906625:python-div
Open

请问使用ueditor编辑的内容,post上传时被WAF(modsecurity)当作XSS攻击拦截了,该如何处理?#3258
15020906625 wants to merge 1 commit intofex-team:dev-1.5.0from
15020906625:python-div

Conversation

@15020906625
Copy link

No description provided.

@ssuyoungwu
Copy link

在上传前,做encode加密,接收后再做decode解密
例如:我这里用ajax上传,上传前加密
encodeURI(editor1.html())
接收时,再解密
HttpUtility.UrlDecode

@xian1688
Copy link

xian1688 commented Nov 4, 2020

菜鸟路过,插个话,文件夹里根本没有ueditor.all.js这文件

@fangzhizi
Copy link

这个兼容到ie几呀,vue引入的话。能兼容ie9吗?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants