You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have multiple parameters, a trailing ampersand will appear if only the first parameter is enabled. Also, an extra ampersand appears in front of the parameter if only the last one is selected. This is corrected by adding the following code to BuildUriPath(template, uriParameters):
// cleanup path
path = path.replace("&&", "&");
path = path.replace("/?", "?");
The text was updated successfully, but these errors were encountered:
@bmidgett: Good find. I think the change to clean up URI path with query string off ampersands left by dis-selecting optional parameters should be by adding the three middle lines as below:
This also happens when you de-select trailing parameters. Here's the code i used to fix it for me. This was an If block and i just changed it to a while
If you have multiple parameters, a trailing ampersand will appear if only the first parameter is enabled. Also, an extra ampersand appears in front of the parameter if only the last one is selected. This is corrected by adding the following code to BuildUriPath(template, uriParameters):
// cleanup path
path = path.replace("&&", "&");
path = path.replace("/?", "?");
The text was updated successfully, but these errors were encountered: