网站首页 > 开源技术 正文
据有关人士发现,在百度的开源编辑其中ueditor/third-party/jquery-1.10.2.min.js 这个文件的头部注释部分出现了过时的语句错误。
/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license
//@ sourceMappingURL=jquery-1.10.2.min.map
*/
语法的"@"符号已被弃用
//@ 已经过时需要替代成//#
其中ueditor/ueditor.all.js 仍然出现并且沿用了方法过期语句
getPreventDefault需要使用 defaultPrevented 替代。
getAttributeNode需要使用getAttribute 替代。
removeAttributeNode需要使用removeAttribute 替代。
错误过期的语句会造成浏览网站的时候,浏览器报错问题发生冲突以及一些隐性问题,原以为百度不会出现这么低级的过期语法错误问题,笔者也是偶然在开发嵌入百度编辑器ueditor时候发现报错的,其实也不是什么大问题,但是也希望可以尽快更新,避免给众多开发者造成安全隐患。
百度编辑器
猜你喜欢
- 2024-09-28 织梦 安装UEditor编辑器(织梦安装出现dir)
- 2024-09-28 springboot整合百度富文本 UEditor
- 2024-09-28 漫谈ueditor编辑器漏洞实战中利用
- 2024-09-28 前端视角漫谈百度ueditor编辑器前后端分离配置
- 2024-09-28 Ueditor二次编辑word(doc和docx格式),SpringBoot后端
- 2024-09-28 部署到服务器UEditor乱码,layUI乱码,layer乱码「非编码造成」
- 2024-09-28 百度编辑器ueditor,如何在源码模式与富文本模式相互切换
- 2024-09-25 Python项目中用富文本编辑器展示精美网页
- 2024-09-25 UEditor二次开发之为行内代码添加code标签
- 2024-09-25 百度编辑器ueditor从word粘贴图片重复分析
你 发表评论:
欢迎- 最近发表
- 标签列表
-
- jdk (81)
- putty (66)
- rufus (78)
- 内网穿透 (89)
- okhttp (70)
- powertoys (74)
- windowsterminal (81)
- netcat (65)
- ghostscript (65)
- veracrypt (65)
- asp.netcore (70)
- wrk (67)
- aspose.words (80)
- itk (80)
- ajaxfileupload.js (66)
- sqlhelper (67)
- express.js (67)
- phpmailer (67)
- xjar (70)
- redisclient (78)
- wakeonlan (66)
- tinygo (85)
- startbbs (72)
- webftp (82)
- vsvim (79)
本文暂时没有评论,来添加一个吧(●'◡'●)