laptop and a wrench

漏洞

HTML elements are not displaying in the pop-up window when created inside a pop-up template in ArcGIS API for JavaScript.

上次发布: February 13, 2020 ArcGIS API for JavaScript
漏洞 ID 编号 BUG-000128230
已提交January 29, 2020
上次修改时间June 5, 2024
适用范围ArcGIS API for JavaScript
找到的版本4.14
操作系统Windows OS
操作系统版本10.0 64 Bit
状态Will Not Be Addressed

附加信息

This change is listed in the breaking changes at version 4.14 of the ArcGIS API for JavaScript. An HTML sanitizer has been added to all widgets, which removes some HTML for security purposes. This causes the HTML set in PopupTemplate.content or in other widgets to be removed. Instead of setting the content as an HTML string, it is recommended to use a function to modify the dom node directly. A code snippet with an example of this functionality is here: https://developers.arcgis.com/javascript/latest/guide/release-notes/#breaking-changes

重现步骤

漏洞 ID: BUG-000128230

软件:

  • ArcGIS API for JavaScript

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项