-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
False
-
Low
-
sat-endeavour
-
None
-
None
-
None
-
None
Steps to Reproduce:
1. In WebUI, go to Hosts -> Templates -> Sync Templates
2. As "Repo" type in a valid value in upper case, for example: HTTPS://github.com/theforeman/community-templates.git
Actual behavior:
Submit button is disabled and there is a warning that "Invalid repo format, must start with one of: http://, https://, git://, ssh://, git+ssh://, ssh+git://, /"
Expected behavior:
Case should not impact this and it should be accepted and any other fields that check ssh/http should work with upper an lowercase (for example: http proxy should be still visible for HTTP repo and hidden for SSH repo)
Notes:
https://www.rfc-editor.org/rfc/rfc1738.html#section-2.1 states it should be case insensitive.
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").