Skip to content

Query parameters are not removed when resolving URLs #113

@fidian

Description

@fidian

When navigating to "test.html" from "http://example.com/somewhere.html?a=b#c", I expect the URL to be "http://example.com/test.html", not "http://example.com/test.html?a=b". Here's simple node REPL code to replicate it.

var URI = require('./URI');
URI('asdf', 'http://example.com/somewhere.html?a=b#c').toString();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions