Skip to content

Throwing errors for segments that are not properly encoded on .add(...) and .match(...) #20

@matthewdunsdon

Description

@matthewdunsdon

There is a desire for add and match to throw errors for segments that are not properly encoded:

add and match are input conservative and throws errors on invalid paths, however they should resolve relative paths, in so far as they should add a leading slash if it's missing, and remove a trailing slash if it's there

(taken from #18 (comment))

Currently, this does not take place.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions