Skip to content

Query string ends up in the last matching parameter's value #30

@gameldar

Description

@gameldar

When parsing a URL if the path contains a query string at the end e.g. /api/something?a=b&c=d given a rule of /api/:what the value of the query string ends up being appended to parameter - in this example match.params["what"] == "something?a=b&c=d".

It would make sense to introduce the concept of the query string at least and remove it from the last match entry when producing the parameter map.

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