漏洞
漏洞 ID 编号 | BUG-000088254 |
---|---|
已提交 | June 10, 2015 |
上次修改时间 | June 5, 2024 |
适用范围 | ArcGIS Web AppBuilder developer edition |
找到的版本 | 1.0 |
状态 | Non-Reproducible |
A temporary fix can be accomplished by changing the '?' to a '&' in the proxy.ashx file by adding the following code:
if ((uri.Split('?').Length - 1) > 1)
{
StringBuilder sb = new StringBuilder(uri);
sb[uri.LastIndexOf("?")] = '&';
uri = sb.ToString();
}
After this line:
if (uri.StartsWith("http%3a%2f%2f", StringComparison.InvariantCultureIgnoreCase) || uri.StartsWith("https%3a%2f%2f", StringComparison.InvariantCultureIgnoreCase))
The following namespace also needs to be added:
using System.Text;
Now, the application runs as expected.
Please also see the attached proxy.ashx file for reference.
获取来自 ArcGIS 专家的帮助
下载 Esri 支持应用程序