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
As per the RFC, this Wikipedia page and this StackOverflow entry file:// URIs can have a hostname in them. Currently URIjs completely ignores hosts in any file protocol URI.
As per the RFC, this Wikipedia page and this StackOverflow entry
file://
URIs can have a hostname in them. Currently URIjs completely ignores hosts in anyfile
protocol URI.eg.
URI('file://localhost/C:/somefile.txt').hostname() === ''
URI('http://localhost/C:/somefile.txt').hostname() === 'localhost'
The only case in which
hostname
should be empty is when suppliedfile:///
URIs in which case the host is literally empty.The text was updated successfully, but these errors were encountered: