Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic route bug #11

Open
reinir opened this issue Sep 7, 2016 · 0 comments
Open

Dynamic route bug #11

reinir opened this issue Sep 7, 2016 · 0 comments

Comments

@reinir
Copy link

reinir commented Sep 7, 2016

I did not expect to find this bug but I checked it many times and I got the same result.

Given these routes:

/route/one
/route/{one}/two
/route/{one}/{two}/three

TreeRoute can resolve this request:

/route/one

Probably because it is a static route.
Unfortunately, TreeRoute can't resolve these requests:

/route/one/two
/route/one/two/three

TreeRoute returns 404 Not Found for both requests.
As a comparison, FastRoute and Symfony Routing can resolve all three requests correctly.

For more information, see Basic Router Test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant