We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey,
Parsing an URL with a port and a hash without a slash in-between results in an improperly parsed URL, where hash is empty and host contains the hash.
hash
host
Also, shouldn't there be an entry fort port?
port
Input: parseURL('https://domain.test:3000#owo') Current output:
parseURL('https://domain.test:3000#owo')
{ protocol: 'https:', auth: '', host: 'domain.test:3000#owo', pathname: '', search: '', hash: '' }
Expected output:
{ protocol: 'https:', auth: '', host: 'domain.test:3000', pathname: '', search: '', hash: '#owo' }
The text was updated successfully, but these errors were encountered:
53a1cea
No branches or pull requests
Hey,
Parsing an URL with a port and a hash without a slash in-between results in an improperly parsed URL, where
hash
is empty andhost
contains the hash.Also, shouldn't there be an entry fort
port
?Reproduction
Input:
parseURL('https://domain.test:3000#owo')
Current output:
Expected output:
The text was updated successfully, but these errors were encountered: