After version 3.21 and above, the JavaScript API is forcing the API request to HTTPS even the website is hosted in HTTP.
上次发布: February 13, 2018ArcGIS API for JavaScript
漏洞 ID 编号
BUG-000110639
已提交
January 8, 2018
上次修改时间
June 5, 2024
适用范围
ArcGIS API for JavaScript
找到的版本
3.21
操作系统
N/A
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
Forcing it to use HTTP is not a recommended approach. The basemaps have been switched to use HTTPS protocol beginning with 3.21 and that is why users are seeing this between versions.
One possible way to workaround it is to manually add the basemap URLs specifying it with HTTP in addition to setting the HTTPSDomains whitelist as empty.