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

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

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

查看全部 2 个回答

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

推荐内容

是不是bug?
进入某个话题页面,右边的最佳回复者列表bug
手机版访问的两个问题:怎么删除问题,为何不弹出删除的对话框?
版本3.3.2手机bug
当A话题和B话题合并,删除其中一个,另一个就会出现该会题不存在的现象。
点击话题名称404
链接地址有问题,老大看看
wc3.3.2更新后所有文章的段落都添加了更多空白,如图
bug报告:图片附件显示两次,能否不显示附件?
无法上传 .tar 结尾的附件