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

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

推荐内容

一个话题图片上传目录和链接错误的bug
测试yixiafatie
WeCenter网站二次开发会很麻烦很贵吗?使用wordpress新建是不是更实惠办法?
用户注册错误,其实已经注册成功
问题重定向无法搜索
IE8 注册用户登陆后,首页中:最新动态,我关注的问题,所有问题 的列表右侧均无参与用户头像显示。
部分用户在移动网登录 wecenter网站时候 等了报错
请问活动管理页出现 404 错误,什么意思?
P4 认证的BUG,请见图
与UCENTER整合后,UC用户中以邮箱作为用户名的用户无法登录到WC.