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

fix maxParams bug #261

Merged
merged 3 commits into from
Sep 25, 2019
Merged

Conversation

lianxmfor
Copy link

When there is only one route "/cmd/*fildpath", the structure of the tree is:
01:00 /cmd[1] false 1
01:01 [1] true 3
01:01 /*filepath[0] 0x124f970 false 3
The maxParams of the "/cmd" node is 0, but it should be 1

@julienschmidt julienschmidt added this to the v1.3 milestone Sep 16, 2019
@julienschmidt julienschmidt merged commit 4c7fa62 into julienschmidt:master Sep 25, 2019
@julienschmidt
Copy link
Owner

Good catch, thanks!

similark pushed a commit to similarweb/httprouter that referenced this pull request May 9, 2023
Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants