漏洞
漏洞 ID 编号 | BUG-000161855 |
---|---|
已提交 | October 4, 2023 |
上次修改时间 | June 5, 2024 |
适用范围 | ArcGIS API for Python |
找到的版本 | N/A |
操作系统 | Windows Server |
操作系统版本 | N/A |
状态 | Non-Reproducible |
Currently, the fileName is resolved as follows in src/arcgis/gis/__init__.py:14909
if data is not None and isinstance(data, (io.StringIO, io.BytesIO)):
if item_properties is None:
item_properties =
if not "type" in item_properties:
item_properties["type"] = self.type
if not "fileName" in item_properties:
fileName = self.name
item_properties["fileName"] = fileName
Consider using a random filename, or appending a timestamp to the end of the itemId as a filename.
if data is not None and isinstance(data, (io.StringIO, io.BytesIO)):
if item_properties is None:
item_properties =
if not "type" in item_properties:
item_properties["type"] = self.type
if not "fileName" in item_properties:
fileName = f"self.name_str(round((datetime.now()).timestamp()))"
item_properties["fileName"] = fileName
漏洞 ID: BUG-000161855
软件:
获取来自 ArcGIS 专家的帮助
下载 Esri 支持应用程序