-
Notifications
You must be signed in to change notification settings - Fork 476
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
subdomain() doesn't parse localhost subdomains properly #375
Comments
I see how this can be confusing… here's the origin of that: https://github.com/medialize/URI.js/blob/gh-pages/src/URI.js#L1529-L1533 |
I see. Well, in my mind, in |
PRs welcome ;) If you're interested in tackling this allow me to give a few pointers:
So I'd probably add something like |
subdomain("http://my-subdomain.localhost") -> empty
domain("http://my-subdomain.localhost") -> my-subdomain.localhost
The text was updated successfully, but these errors were encountered: