- From: Hayato Ito <notifications@github.com>
- Date: Tue, 03 Dec 2024 18:16:55 -0800
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 4 December 2024 02:16:59 UTC
@karwa Thanks for the explanation! That clears things up. Could I confirm one more thing to ensure I understand completely? Non-special opaque path URLs don't percent-encode spaces: ``` javascript const url = new URL("git:opaque path"); console.log(url.href); // "git:opaque path" ``` I assume the *opaque* host and *opaque* path should be handled differently, in terms of percent encoding, correct? We percent-encode spaces in file: URLs' hosts, but not in non-special opaque paths. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/url/issues/805#issuecomment-2516018545 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/url/issues/805/2516018545@github.com>
Received on Wednesday, 4 December 2024 02:16:59 UTC