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

Parameters not escaped #78

Open
nanaya opened this issue Nov 29, 2017 · 0 comments
Open

Parameters not escaped #78

nanaya opened this issue Nov 29, 2017 · 0 comments

Comments

@nanaya
Copy link

nanaya commented Nov 29, 2017

Is it intentional?

> laroute.route('search', {q: 'this & that'})
"/home/search?q=this & that"

The & that is not part of q anymore because & is query string separator. It should be replaced with its percent encoding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant