- From: Alwin Blok <notifications@github.com>
- Date: Sun, 07 Jan 2024 11:42:33 -0800
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 7 January 2024 19:42:39 UTC
Host has this problem too. - You cannot distinguish `sc:///foo` from `sc:/foo`, nor can you distinguish `sc:` from `sc://` by inspecting the properties of their corresponding URL objects (other than the href itself). There is this [classic post] according to which query and fragment have been in use fairly consistently to refer to the search without the `?` sigil and the hash without the `#` sigil. So one option is to fix search and hash and make them available as query and fragment instead. The search and hash getters / setters can then be marked as legacy or deprecated (but not removed). [classic post]: https://tantek.com/2011/238/b1/many-ways-slice-url-name-pieces -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/url/issues/779#issuecomment-1880152406 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/url/issues/779/1880152406@github.com>
Received on Sunday, 7 January 2024 19:42:39 UTC