laptop and a wrench

Bogue

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

Dernière publication: May 8, 2019 ArcGIS Web AppBuilder developer edition
Numéro d’ID de bogue BUG-000088254
EnvoiJune 10, 2015
Dernière modificationJune 5, 2024
S’applique àArcGIS Web AppBuilder developer edition
Version trouvée1.0
StatutNon-Reproducible

Informations supplémentaires

This issue cannot be reproduced.

Solution de contournement

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.

Étapes pour reproduire

ID de bogue: BUG-000088254

Logiciel:

  • ArcGIS Web AppBuilder developer edition

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement