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

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

相关问题

遮罩效果不完整,求修复,更希望能给予代码提供,以前自己也经常遇到。。IE8浏览器
用户头像不能上传 WeCenter 3.1.1已经修复
站外分享的定位有问题,麻烦修复下
官方已经修复话题功能了,新下载的4.03版更新了吗?
莫名出现There appears to be an error:,怎么修复?
怎么回事,数据表修复
修复中文用户名注册校验的一处BUG,请老司机确认
[必须修复!]Linux Bash严重漏洞修复紧急通知
3.1.9版本XSS漏洞
新版本有什么功能上的改进,模板乱码那个修复了吗