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

修复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。。。
官方已经修复话题功能了,新下载的4.03版更新了吗?
注册页面的问题,2 点
回复的内容无法编辑
2.2.3更新用户威望出错!
WeCenter 2.5 Beta 1 ClassicBlack模板头部错位
个人信息管理里面,居住地怎么没有可选项?是BUG 还是数据库没有安装好?
Anwsion 1.1 Alpha 4如果开启ucenter之后,同步过来的用户积分为负数
邀请我回答的问题回答了右边的数字还在
活动支付出现错误