laptop and a wrench

漏洞

ArcGIS Classic Map Viewer generates faulty embed code where the URL for the web map starts with '//example.maps.arcgis.com/....' instead of 'https://example.maps.arcgis.com/...' as required.

ArcGIS Online
漏洞 ID 编号 BUG-000167306
已提交May 8, 2024
上次修改时间December 17, 2024
适用范围ArcGIS Online
找到的版本Feb 2024
操作系统N/A
操作系统版本N/A
状态In Review

解决办法

  • When adding 'https:' before the //example.maps.arcgis.com..., save the website for it to work. For example:

<style>.embed-container {position: relative; padding-bottom: 80%; height: 0; max-width: 100%;} .embed-container iframe, .embed-container object, .embed-container iframe{position: absolute; top: 0; left: 0; width: 100%; height: 100%;} small{position: absolute; z-index: 40; bottom: 0; margin-bottom: -15px;}</style><div class="embed-container"><iframe width="500" height="400" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" title="Hästar på rymmen_2" src="https://esrisupport.maps.arcgis.com/apps/Embed/index.html?webmap=4d508788cf994fca9bf7cf2638f8a778&extent=15.2008,60.5488,15.2566,60.5666&zoom=true&previewImage=false&scale=true&disable_scroll=true&theme=light"></iframe></div>

重现步骤

漏洞 ID: BUG-000167306

软件:

  • ArcGIS Online

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项