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

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

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

为什么被折叠? 0 个回复被折叠
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-03 15:59

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

关于作者

问题动态

发布时间
2020-03-02 21:32
更新时间
2020-04-13 22:35
关注人数
5 人关注

推荐内容

Warning: implode() [function.implode]
头部的搜索框,搜索站内没有的关键词,没有提示效果。
2.5beta2依然没有修复页面管理,新建页面依然打不开
活动,众筹功能的支付接口在哪里设置啊?支付功能,怎么好像默认是不能用的?
全新安装3.1.8,登陆后台验证码不显示,内附phpinfo
微博消息接受,"从指定微博帐号获取 @ta 的内容并导入 WeCenter“ 的消息导入到哪里去了?
提个也许不是bug的bug
这是个什么问题,附件上传不了
@用户名,显示的@uid,看截图
两个网站的用户可以共享吗?怎么实现