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

GetQueryStringParameters normalises to Lowercase. #62

Open
S-Tasker opened this issue Mar 7, 2019 · 0 comments
Open

GetQueryStringParameters normalises to Lowercase. #62

S-Tasker opened this issue Mar 7, 2019 · 0 comments
Assignees
Labels
WIP work is in progress
Milestone

Comments

@S-Tasker
Copy link

S-Tasker commented Mar 7, 2019

QueryString parameters should not be normalised to lower case unless specifically requested, as per RFC-3986 (section 6.2.2.1).

Excerpt:

For all URIs, the hexadecimal digits within a percent-encoding
triplet (e.g., "%3a" versus "%3A") are case-insensitive and therefore
should be normalized to use uppercase letters for the digits A-F.

When a URI uses components of the generic syntax, the component
syntax equivalence rules always apply; namely, that the scheme and
host are case-insensitive and therefore should be normalized to
lowercase. For example, the URI HTTP://www.EXAMPLE.com/ is
equivalent to http://www.example.com/. The other generic syntax
components are assumed to be case-sensitive unless specifically
defined otherwise by the scheme
(see Section 6.2.3).

The issue is in UriTemplateExtensions.cs, line 80.

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

No branches or pull requests

2 participants