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

Decode query params keys #95

Open
wagjo opened this issue Apr 5, 2017 · 1 comment
Open

Decode query params keys #95

wagjo opened this issue Apr 5, 2017 · 1 comment

Comments

@wagjo
Copy link
Contributor

wagjo commented Apr 5, 2017

Collection values are encoded into query params with brackets attached as a suffix. When parsing back the url query string, the keys are not decoded. As brackets in query keys tend to be percent encoded in several tools, parser should decode them.

Example of such query, github percent encodes brackets in the href of the following link automatically:
http://example.com/search?terms[]=foo&terms[]=bar

@wagjo wagjo changed the title Query params Decode query params keys Apr 5, 2017
@wagjo
Copy link
Contributor Author

wagjo commented Apr 5, 2017

Fix is provided in #94

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