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

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

相关问题

推荐内容

管理员用户组看不到问题详细页小齿轮下拉框里的推荐功能在哪里
WeCenter2.1.1版升级反馈
在动态栏右下方那里,点击可能感兴趣的人用户列表的加号,报错
session机制未做修改
454455555555555555
升级1.0之后,后台管理进不去了,提示404
bug一枚:匿名回答时站外分享其答案,会@出匿名者的用户名
程序是不是又坏了,好奇怪的妖精毛病啊,没有所在地的信息了,如图所示
BUG,在前台用户【管理话题】的页面,按回车键,为什么会出现乱码页面?
手机版改问题时提示标题不够五个字