获取应用程序中的漏洞更新
URL 已复制
共享 URL
漏洞
Query parameters are not added to the body when sending a POST using esriRequest.
上次发布: June 12, 2019
ArcGIS API for JavaScript
漏洞 ID 编号
BUG-000118647
已提交
December 6, 2018
上次修改时间
April 2, 2025
适用范围
ArcGIS API for JavaScript
找到的版本
4.10
操作系统
Windows OS
操作系统版本
N/A
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
This is how the API is designed to work.
解决办法
Use another HTTP request interface like the Fetch API(https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API).The following code works:fetch(proxy + portalUrl + '/sharing/rest/content/features/generate', { method: 'post', body: formdata}).then(function(response){ return response.json();}).then(function(response){ if(!response){ if(response.error){ errorHandler(response.error); return; } } console.log(response);});
重现步骤
漏洞 ID: BUG-000118647
软件:
ArcGIS API for JavaScript
当漏洞状态发生变化时获得通知
下载 Esri 支持应用程序
发现关于本主题的更多内容
Esri Community
搜索相关信息
Training
查找与此主题相关的培训
ArcGIS Ideas
探索想法并提供反馈
获取来自 ArcGIS 专家的帮助
联系技术支持部门
下载 Esri 支持应用程序
转至下载选项