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

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

推荐内容

逆天了,beta5的私信果然存在问题,新私信看过后依然显示为未读
悬浮的名片有点小问题
新注册会员的欢迎私信是自己发送给自己,有什么解决方案吗?
3.0.2 上传图片 间歇性抽风
后台“新用户默认通知设置”有个小问题
文章列表显示这个[quote] [size=16]怎么办
1.1RC后台更新关键词出现以下错误
BUg :对英文话题怎么添加都没用
9月21日官方新版bug纪录?
动静分离CDN加速字体文件跨域问题