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

修复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,3.1.8版本安装活动,工单后。发起活动页面不能添加封面图片。
自定义路由器问题,这个BUG吗
通知列表中如果是文章就没有锚定位和高亮显示
个人主页中,关注的话题为零,实际上首页上显示很多关注的话题
因为所在用户组权限无法添加话题的时候,应该提醒一下
上传的附件为什么附件表里没有数据
QQ登录重复绑定问题?
3.3.0版本找回密码有问题
firefox浏览器无法登陆的BUG?
1.1-RC-3 “我的收藏”有个输入锚点错误