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

修复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
关于编辑器wangEditor通过word复制内容样式错乱
2.5移动版图片宽度出屏了!
注册引导的bug
用小米手机UC浏览器发现的BUG
小卡片不显示用户认证标志
3.3.5 发布活动点击“下一步”没有反应
换了ip无法登陆后台管理 ,js 报错!?
访问不存在的路径貌似不会返回404错误
今天在使用事务的时候,发现了一个问题,回滚不能使用