- From: Emily Stark <notifications@github.com>
- Date: Thu, 21 Mar 2019 19:53:35 -0700
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 22 March 2019 02:54:00 UTC
estark37 commented on this pull request. > - <li><p>Other parts of the <a for=/>URL</a> should have their sequences of - <a>percent-encoded bytes</a> replaced with code points resulting from - <a>percent decoding</a> those sequences converted to bytes, unless that renders those - sequences invisible. +<p>In a space-constrained display, URLs should be elided carefully to avoid misleading the user when +making a security decision: + +<ul> + <li><p>Ensure that at least the <a for=host>registrable domain</a> can be shown when the URL is + rendered (to avoid showing, e.g., <code>...examplecorp.com</code> when loading + <code>https://not-really-examplecorp.com/</code>). + + <li><p>When the full <a for=url>host</a> cannot be rendered, elide domain labels starting from the + front. For example, <code>examplecorp.com.evil.com</code> should be elided as Alright, I'm happy to file an issue and follow up separately. Anyone have strong feelings about the options currently on the table ("front", "lowest-level label", "label furthest from the DNS root") in the meantime? -- 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/434#discussion_r268023954
Received on Friday, 22 March 2019 02:54:00 UTC