Router with query param not working. #74

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

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
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 \?.

@cognitom cognitom added a commit that closed this issue Nov 29, 2016
@cognitom cognitom Fix #74 ed37fc0
@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