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

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

推荐内容

升级工具 keyword_rebuild.php 文件更新
9月21日官方新版bug纪录?
anwsion出现BUG,选择分类重复
wecenter为何不把js和css放在footer中?
可能是bug,话题列表第二页以后显示不正确
关于wecenter上传图片的压缩质量问题,疑似BUG !
报告Anwsion 1.1 Alpha 3一枚BUG,无法给话题添加图片,但是话题说明可以编辑
发起问题高级模式里的添加话题功能
发布话题后markdown没被解析
There appears to be an error: 这是什么问题,求解。突然就这样了