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

Fix parsing of empty query string pairs #500

Merged
merged 1 commit into from
Feb 16, 2015
Merged

Fix parsing of empty query string pairs #500

merged 1 commit into from
Feb 16, 2015

Conversation

ap
Copy link
Contributor

@ap ap commented Feb 16, 2015

Plack::Request has a bug (apparently shared with URI::_query) in how it parses empty pairs in the query string. It produces an empty-string key with an empty-key value, rather than ignoring them.

This patch fixes the problem.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 82.05% when pulling 406b813 on ap:fix-empty-querystring-pairs into 9023699 on plack:master.

miyagawa added a commit that referenced this pull request Feb 16, 2015
Fix parsing of empty query string pairs
@miyagawa miyagawa merged commit 360b46e into plack:master Feb 16, 2015
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

Successfully merging this pull request may close these issues.

None yet

3 participants