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

修复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, 当感谢最新动态页面某个答案以后,再刷新页面那个答案中不出现[已感谢],依旧显示的是[感谢]
模糊搜索不支持带 “· ”的搜索
 邀请数量 有负值产生
官方对bug的反应慢了许多啊
bug反馈:2.1版话题-精华-问题列表右侧参与者连接和头像缺失