- From: Karl <notifications@github.com>
- Date: Mon, 25 Oct 2021 06:10:36 -0700
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 25 October 2021 13:10:49 UTC
If a URL has an opaque path, its host must already be null. This makes the condition clearer and more direct - the reason you can't set a username/password/port on these URLs is because they lack an appropriate host. The fact that some such URLs may _also_ have opaque paths is a coincidence. You can view, comment on, or merge this pull request online at: https://github.com/whatwg/url/pull/667 -- Commit Summary -- * <a href="https://github.com/whatwg/url/pull/667/commits/058f61825d293213724583d35710faae3f2d8b71">Remove a redundant condition in "cannot have a username/password/port"</a> -- File Changes -- M url.bs (3) -- Patch Links -- https://github.com/whatwg/url/pull/667.patch https://github.com/whatwg/url/pull/667.diff -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/url/pull/667
Received on Monday, 25 October 2021 13:10:49 UTC