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

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

推荐内容

如何查看【aws_】修改后的前缀
邀请注册功能运行有问题
问题:当问题、回复、文章删除时,用户的发问、回复、文章的数字不会减少。。。
刚安装的WC程序,但是不能发布问题和文章
测试 Anwsion 2.0 Beta 5出现问题,Anwsion 2.0 Beta 4正常
新用户注册系统发送的欢迎内容【为什么要验证邮箱之后才发送呢】
后台用户管理》用户组》特殊组,跳转错误!
重发邀请的bug
【BUG反馈】后台批量邀请和好友邀请用户功能不可用
关于修改问题的几个问题(bug否)