Skip to content

MakeTemplate() called with a URI with querystring parameters supplied removes querystring. #61

@S-Tasker

Description

@S-Tasker

...but seemingly only when MakeTemplate() is called with additional parameters.

Example:

            var testUri = new Uri("http://localhost/foo?bar=baz");
            return testUri.MakeTemplate(new Dictionary<string, object>()
            {
                {"param", "value"}
            }).Resolve();

Expected result:

http://localhost/foo?bar=baz&param=value

Actual result:

http://localhost/foo?param=value

When called without parameters, the "Actual" result, is correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bughelp wantedThis issue is available to submit a pull request for

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions