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

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

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

为什么被折叠? 0 个回复被折叠
一花一木 初级会员 用户来自于: 山东省临沂市
2020-03-03 15:59

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

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-02 21:32
更新时间
2020-04-13 22:35
关注人数
5 人关注

推荐内容

WeCenter 3.1.7 bug 乱码希望官方修复
我有个小BUG!
为什么我的话题分类和用户左侧调的是专题标题呢?哪不对?
为什么手机版不能更新呢
为什么2.5.6升级到2.5.7报错呢??
我刚装的系统,什么也没有做就是改了一下目录权限就出来这个提示页面停留时间过长,或内容已提交,请刷新页面
最新的2.5b4, 突然发现不能编辑其它贴子的话题,
管理员用户组看不到问题详细页小齿轮下拉框里的推荐功能在哪里
关于泄露用户信息bug的最简单解决办法及修复方法
申请专栏页面不能上传图片