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

修复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,关于新手引导没有触发
图片上传不了,求救!不知道怎么回事。换回1.8的就这样了、
测试 Anwsion 2.0 Beta 5出现问题,Anwsion 2.0 Beta 4正常
AS缺少两个概念,问题有没有回复,问题有没有解决
官方忘记修复的一个BUG
【已解决】更新3.11之后,发布问题和文章不能选择分类,且编辑器无菜单!
到底谁能解决,问了一晚上了??
2.5后台禁止游客权限后仍能通过手机版直接访问问题网址