The ServicesDirectory.folders function in the ArcGIS API for Python fails when using ArcGIS Server 10.6.
上次发布: May 23, 2018ArcGIS API for Python
漏洞 ID 编号
BUG-000111813
已提交
February 21, 2018
上次修改时间
June 5, 2024
适用范围
ArcGIS API for Python
找到的版本
1.3
操作系统
Windows OS
操作系统版本
7
修正版本
1.4.0
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
解决办法
*Please note: there are potential security risks with this workaround:<a href="https://developers.arcgis.com/rest/enterprise-administration/server/serverproperties.htm" target="_blank">https://developers.arcgis.com/rest/enterprise-administration/server/serverproperties.htm</a>Change the default content-type for a JSON response to text/plain:1. Navigate to ArcGIS Server admin and log in with administrator credentials.2. Click System > Properties > Update.3. Paste in the following JSON: {"defaultJsonResponseContentType": "text/plain"}4. Click Update.5. Restart ArcGIS Server.