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

Fixed handling of uppercase http/https urls #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BFlorry
Copy link

@BFlorry BFlorry commented Nov 18, 2017

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.

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.

1 participant