Skip to content

Extra ampersands appearing for multiple querystring parameters #13

@bmidgett

Description

@bmidgett

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("/?", "?");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions