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

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

相关问题

WeCenter 2.5 Beta 3 用户设置的高度不一样,希望官方修复一下!(有图)
听说将1.1.1的BUG修复好了会出个1.1.2版本,不知道什么时候发布去了?
莫名出现There appears to be an error:,怎么修复?
求修复wecenter3.22在php7下的微信交互BUG
今天有没有修复包发布呢
【已修复】编辑器中https中相关的BUG已将被我全部修复~~哈哈
本周修复一些小BUG的版本能发布吗?
请尽快修复手机站不能注册用户的问题
1.1-Beta 2现有小问题修复了么?现在能升级么?
wecenter可以防止xss攻击吗