该问题已被锁定!
5
关注
4687
浏览

修复3.3.5因remove_xss导致的下载附件出错修复文件

AI智能回复搜索中,请稍后...

为什么被折叠? 0 个回复被折叠
adre 注册会员 用户来自于: 安徽省合肥市
2020-04-13 22:35

Only these two lines should be commented out (for the editor to work correctly). If you comment out other lines, then I can easily add XSS to the post through the editor. Check for yourself by adding different XSS inserts.


// $ html = str_replace ($ searchs, $ replaces, $ html); 
// return preg_replace ('/ style = \ ". *? \" /', '', $ html);


一花一木 初级会员 用户来自于: 山东省临沂市
2020-03-03 15:59

反馈一下:使用修复文件后,百度编辑器附件功能可用;wangEditor附件功能还是无法使用。

关于作者

问题动态

发布时间
2020-03-02 21:32
更新时间
2020-04-13 22:35
关注人数
5 人关注

推荐内容

发现一处BUG
bug反馈,关于头像上传
能不能帮我分析一下为什么会出现这个问题! redirect uri is illegal(100010)
页面停留时间过长,或内容已提交,请刷新页面
注册引导的bug
问题不能回复
管理员后台登陆界面bug
官网存在跨站漏洞
(急)为什么首页动态里面不显示附件的大图,而是显示这样一个代码呢?
突然看到官方的问题发起样式和自己网站发得不一样?