Re: [whatwg/fetch] Proposal: consider url parsing to be more flexible about colons in the protocol part of a url (Issue #1535)

> Expected
> 
> ```ts
> new URL("git+ssh@github.com:/me") 
> 
> {
>   protocol: 'git+ssh@github.com',
>   path: 'me'
> }
> ```

Why would you want it to parse like that? You usually want a hostname from the URL. In any case `@` is not a character allowed in the protocol part of the URL.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/1535#issuecomment-1308439582
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/issues/1535/1308439582@github.com>

Received on Wednesday, 9 November 2022 09:09:54 UTC