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

Router with query param not working. #74

Closed
Qlio opened this Issue Nov 28, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@Qlio

Qlio commented Nov 28, 2016

I have route: /login?path=*

But when I go to url: http://localhost:8000/login?path=test, and of my routes handling this one.

@cognitom cognitom added the bug label Nov 29, 2016

@cognitom

This comment has been minimized.

Show comment
Hide comment
@cognitom

cognitom Nov 29, 2016

Member

@Qlio thanks for reporting. I've found a bug on this line.
https://github.com/riot/route/blob/v3.0.0/lib/index.js#L55

? should be escaped to \?.

Member

cognitom commented Nov 29, 2016

@Qlio thanks for reporting. I've found a bug on this line.
https://github.com/riot/route/blob/v3.0.0/lib/index.js#L55

? should be escaped to \?.

@cognitom cognitom closed this in ed37fc0 Nov 29, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment