Skip to content

Append to path and work correctly with or without trailing slash in url #34

Closed
@kendaleiv

Description

@kendaleiv
new URI().path() + 'test';

can work or not depending if the first part ends with a /. I'd rather not hack the adding of a slash in JavaScript or use any sort of rewriting.

Would it make sense to add an appendPath method or something like that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions