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

params leaking from route to route #21

Open
sweber83 opened this issue Mar 1, 2017 · 0 comments
Open

params leaking from route to route #21

sweber83 opened this issue Mar 1, 2017 · 0 comments
Labels

Comments

@sweber83
Copy link

sweber83 commented Mar 1, 2017

If routes like this are used

router.get('/appointments/validate', appointments.validate)
router.get('/appointments/:id', appointments.fetch)

the appointments.validate middleware gets an 'id' param with the value 'validate'.

@menems menems added the bug label May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants