|Bug ID Number||BUG-000088254|
|Submitted||June 10, 2015|
|Last Modified||December 1, 2020|
|Applies to||ArcGIS Web AppBuilder for Developers|
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:
Now, the application runs as expected.
Please also see the attached proxy.ashx file for reference.