-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
URL Path Parameter get bugged #1461
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
Comments
After reading through this issue I found that that all parameter names for the same endpoint need to be the same (which was my temporary fix). |
I am seeing the same issue and having the workaround as @SaubereSache mentioned. However, it makes the code harder to maintain. It would be good if it can be fixed. |
Revert to version 4.1.5 fix the issue in our case. Line 302 in 5c7c87d
|
Refer #1467 I think your issue should be fixed starting from version |
Works, thanks for the fix :) |
Regression, broke again as of v4.1.16 (@asahasrabuddhe @vishr) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Is it still actual? |
We ran into this bug again using v4.1.16 on one of our projects. The tests that were added as part of the merge for #1467 only test the |
We'are facing this problem at |
Issue Description
Context#Param(name string) doesn't work in certain constellations.
Checklist
Expected behaviour
The following code yields results for handler1 (using
c.Param("page")
) and for handler3 and handler4 (usingc.Param("id")
)Actual behaviour
The following code yields and empty string for handler3 and handler4 (using
c.Param("id")
).The following code yields and empty string for handler1 (using
c.Param("page")
).Steps to reproduce
Working code to debug
See above
Version/commit
Latest (github.com/labstack/echo)
The text was updated successfully, but these errors were encountered: