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

修复3.3.5因remove_xss导致的下载附件出错修复文件

AI智能回复搜索中,请稍后...

为什么被折叠? 0 个回复被折叠
一花一木 初级会员 用户来自于: 山东省临沂市
2020-03-03 15:59

反馈一下:使用修复文件后,百度编辑器附件功能可用;wangEditor附件功能还是无法使用。

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

推荐内容

WeCenter 2.5.10 中“发起问题”的“选择分类”无反应
qq登陆报错
http://so.com/s?q=site%3Awenda.anwsion.com存在2个警告漏洞
这个是不是bug
发布问题后,提示未找到故障
管理员删除问题,会发邮件通知。在管理员的发件箱中发现怪事:
注册提示密码长度不正确,但后台查看用户已经注册成功,还有提示说用户名不符合规则,结果修改后提示存在,后台查看也是之前已经注册成功
上传图片附件功能的seo建议
发布问题后,取消关注提示问题不存在,怎么解决?
SAE发邮件问题