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

UriComponentsBuilder should be case-insensitive when parsing URL scheme names [SPR-10779] #15406

Closed
spring-issuemaster opened this issue Jul 24, 2013 · 0 comments

Comments

Projects
None yet
2 participants
@spring-issuemaster
Copy link
Collaborator

commented Jul 24, 2013

André Wolf opened SPR-10779 and commented

According to RFC 1738 "Uniform Resource Locators (URL)", the scheme names of an URL allows the following characters: lower case letters a to z, digits, the characters plus, period, and hyphen. It also states:

"For resiliency, programs interpreting URLs should treat upper case letters as equivalent to lower case in scheme names (e.g., allow "HTTP" as well as "http")." (section 2.1. The main parts of URLs).

Unfortunately UriComponentsBuilder does not accept the upper case variants HTTP and HTTPS, it throws an IllegalArgumentException instead.


Affects: 3.1.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.