You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same for the http variant. Technically, this isn't an issue with your package since for some reason the URL constructor allows you to create URLs like https://xyz even though they're missing the TLD.
Is this working as expected? If not, where would I file an issue for something like this that's built into JS?
The text was updated successfully, but these errors were encountered:
Those are valid URLs. A TLD is only required for public URLs.
TLD-less URLs (Top-Level Domain-less URLs) are URLs that don't have a top-level domain like .com, .org, etc. They're often used in local network environments. For example, http://webserver/ could resolve to a local web server within a corporate network.
Same for the http variant. Technically, this isn't an issue with your package since for some reason the
URL
constructor allows you to create URLs likehttps://xyz
even though they're missing the TLD.Is this working as expected? If not, where would I file an issue for something like this that's built into JS?
The text was updated successfully, but these errors were encountered: