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

修复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 人关注

推荐内容

beta7更新后,页面出现错误代码。
首页动态里“赞同”按钮错位bug
用户提交问题都会发生弹窗错误:"errno":1,"err":null,但是可以提交成功。如何解决?
个人主页的详细信息页的bug
2.5rc1微信订阅号无法提问
建议改进:优化邮件验证流程!
求方案:wecenter的session经常卡死数据库,有没有朋友有好的解决方案?
特定情况下能看到匿名用户,这算是BUG吗
chrome浏览器下不显示添加话题按钮,这是什么原因?
php更新5.6.12 出现 Unable to set session handler