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

修复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!
2.0 BETA3 bug 首页、专题页侧边栏热门用户处,用户回复的问题数量不更新的反馈?
问答页中编辑话题的权限为什么不能在后台设置呢?
2.1 beta 1 话题读取数据库的BUG
站内邀请 和邮件邀请点不动
动态页面点赞或不赞不起作用
文章中引读部分显示不出字体?
经验专题bug
升级至1.1rc后,导航菜单不见了。
个人微博 BUG