Thanks for working on interop! :) On Fri, Mar 10, 2023 at 4:07 PM 'Jiacheng Guo' via blink-dev < blink-dev@chromium.org> wrote:
> Contact emails...@google.com, gotlouem...@gmail.com, > blink-network-st...@google.com > > ExplainerAs a part of the URL interop 2023, the forbidden character table > of hostnames will be updated as described in the URL spec. The characters > in hostnames will be no longer percent escaped since it's not required by > the URL spec. > Can you please explain what would be the impact of this change and provide examples of cases that are currently working and would stop working after this change is landed? Web developers are asking questions on this thread, and it'd be good to have an explainer that answers such questions. > > Specificationhttps://url.spec.whatwg.org/#host-writing > > Summary > > The writing and parsing rule of the URL host characters are updated to be > compliant with the URL standard. The following characters characters will > become forbidden in the hostnames as described in > https://url.spec.whatwg.org/#forbidden-host-code-point: ' ' (space), '<', > '>' and '|'. '[' and ']' are still allowed as a part of IPv6 addresses but > will be forbidden in any other hostnames. The following characters will no > longer be percent escaped in hostnames: '!', '"', '$', '&', ''' (the ' > character itself), '(', ')', '*', ';', '=', '`', '{', '}' and '~' > > > Blink componentBlink>Network > <https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3ENetwork> > > TAG review > > TAG review statusNot applicable > > Risks > > > Interoperability and Compatibility > > The URL standard is a well established standard and the effort is a part > of the URL interop 2023. We expect the risk to be minimal. > > > *Gecko*: Positive The forbidden characters are partially followed in > firefox. '*' is considered as an invalid character in hostnames. The > characters are not percent escaped in the hostnames. > As Martin asked, please don't assume a position. Can you ask for one on Mozilla's positions repo? Can you also elaborate on the "partially followed" part? > > *WebKit*: Shipped/Shipping Safari strictly follows the forbidden > character list and never percent escape the characters in the hostnames. > > *Web developers*: No signals > > *Other signals*: > > WebView application risks > > Does this intent deprecate or change behavior of existing APIs, such that > it has potentially high risk for Android WebView-based applications? > > > > Debuggability > > The forbidden characters will throw TypeErrors where developers can find > in the console. > Do we have use counters for content that would start throwing once this change lands? > > > Will this feature be supported on all six Blink platforms (Windows, Mac, > Linux, Chrome OS, Android, and Android WebView)?Yes > > Is this feature fully tested by web-platform-tests > <https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md> > ?Yes > Can you provide a link to the tests? > > Flag name > > Requires code in //chrome?False > > Tracking bughttps://crbug.com/1398117 > > Sample links > https://chromium-review.googlesource.com/c/chromium/src/+/4199790 > > Estimated milestones > > No milestones specified > > > Anticipated spec changes > > No spec change > > Link to entry on the Chrome Platform Status > https://chromestatus.com/feature/5074885224693760 > > This intent message was generated by Chrome Platform Status > <https://chromestatus.com/>. > > -- > You received this message because you are subscribed to the Google Groups > "blink-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to blink-dev+unsubscr...@chromium.org. > To view this discussion on the web visit > https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAJQw1NyTJOqj0O0HMPQQuYrBgtjjPN3fjH8st1XP15AtsV1fPA%40mail.gmail.com > <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAJQw1NyTJOqj0O0HMPQQuYrBgtjjPN3fjH8st1XP15AtsV1fPA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "blink-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscr...@chromium.org. To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAL5BFfURuU%3DXSvxFkMZJMPdm00BZ6x2gpJi%2BzFTk%2Ba5qFTSHWA%40mail.gmail.com.