• The same rules applied to a url template, of which only the origin is rebuilt.

    The rest is carried over verbatim: URL parsing percent-encodes the braces of a {name} placeholder and mistakes a trailing {?name} for a query string, so a template must never go through it whole.

    Parameters

    • template: string
    • connectionUrl: string

    Returns string