js-url
js-url copied to clipboard
Domain parsing error
Found this issue:
When trying to parse the following url: https://facebook.com\@account.google.com/x
url('domain', 'https://facebook.com\@account.google.com/x') // outputs 'google.com'
This outputs google.com as the domain instead of facebook.com