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

Unexpected normalization: a.b.com gets protocol #96

Closed
osdiab opened this issue Aug 23, 2019 · 1 comment
Closed

Unexpected normalization: a.b.com gets protocol #96

osdiab opened this issue Aug 23, 2019 · 1 comment

Comments

@osdiab
Copy link

osdiab commented Aug 23, 2019

normalizeUrl("a.b.com"); // expected a.b.com, got http://a.b.com

Default for stripProtocol is false, but i didn't expect it to add a protocol for me - esp when other urls don't do that

@osdiab
Copy link
Author

osdiab commented Aug 23, 2019

ah maybe i just misunderstand how normalization is supposed to work, guess it adds a protocol if one isn't present?

@osdiab osdiab closed this as completed Aug 23, 2019
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

No branches or pull requests

1 participant