laptop and a wrench

Bug

The JavaScript Identity Manager requests are incorrectly formatted, causing errors when going through the proxy.

Last Published: May 8, 2019 ArcGIS Web AppBuilder developer edition
Bug ID Number BUG-000088254
SubmittedJune 10, 2015
Last ModifiedJune 5, 2024
Applies toArcGIS Web AppBuilder developer edition
Version found1.0
StatusNon-Reproducible

Additional Information

This issue cannot be reproduced.

Workaround

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.

Steps to Reproduce

Bug ID: BUG-000088254

Software:

  • ArcGIS Web AppBuilder developer edition

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options