Skip to content

Disable lower casing of query string keys #1

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

Merged
merged 1 commit into from
Apr 27, 2020

Conversation

benurb
Copy link
Contributor

@benurb benurb commented Apr 15, 2020

Hello,

we're using your module and it works great so far. The only thing we noticed is, that it converts query string keys to lower case. That does not conform to RFC2616. A query string key and KEY should be passed as two seperate values to the express/koa server.
I created a PR with the changes that work for us. Maybe it helps :)

Keep up the good work 👍
Best regards,
Ben

@janaz
Copy link
Owner

janaz commented Apr 27, 2020

Hi @benurb

Thanks for fixing this issue. You're totally right that query string param names should be case sensitive. I'll write a test case for it and release a new version soon.

@janaz janaz merged commit 8f5b73e into janaz:master Apr 27, 2020
@janaz
Copy link
Owner

janaz commented Apr 27, 2020

Added test case 6e32ecc

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.

2 participants