Previously HTTP: and HTTPS: caused the parser to be mistaken with the url to not have a scheme and adds an extra scheme, making it HTTP://HTTP://WWW... thus making it fail parsing the url properly.
This PR fixes it, as the string is handled in lowercase when checking for a scheme.
Previously HTTP: and HTTPS: caused the parser to be mistaken with the url to not have a scheme and adds an extra scheme, making it HTTP://HTTP://WWW... thus making it fail parsing the url properly.
This PR fixes it, as the string is handled in lowercase when checking for a scheme.