Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Match after end of routes #117

@shoehn

Description

@shoehn

Hi,
I understand that r3 uses a prefix tree to implement the matching of the routes. When I add two routes "/test" and "/test2", I can also match "/test3". That is because "/test" is a prefix of "/test3", correct?

Is that intended behaviour? How can I recognize that in my implementation of the routing? Or is it just that we don't care as long as our routing starts correctly what follows after that correct route?

Thanks for the great library!

Sebastian

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions