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

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

推荐内容

合并话题后,删除被合并的话报错!
地址栏加上回答的锚链接后不能正常分享
网站搬家后,头像、内容图像路径变了,并且不能上传文件
你好,,那个头像无法上传的问题搞定了没
为什么内容载入模式显示两个Loading
话题的介绍内容还是不能填很多
图片的链接直接输出了
Fatal error: Uncaught exception 'Zend_Db_Statement
列表中的代码太虐心,改成缩略图吧
删除自己的评论内容后,再点评论按钮评论框不见了,要刷新整个页面才能看到