- From: Luca Barbato <notifications@github.com>
- Date: Thu, 13 Jul 2023 10:39:28 -0700
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 13 July 2023 17:39:33 UTC
``` scheme://host:port/# ``` and ``` scheme://host:port/ ``` if fed to the `URL` do not distinguish between the two: URL.hash returns `''` and to make it even stranger passing `.hash = '#'` produces `scheme://host:port/#` but calling `.hash` returns `''` nonetheless. would be nicer if `.hash` returns `undefined`/`null` if it is unset or `"#"` if the trailing hash is present. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/url/issues/779 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/url/issues/779@github.com>
Received on Thursday, 13 July 2023 17:39:33 UTC