It is a small change, but I understand why everyone wants an extra pair
of eyes on it. Unexpected embedded null bytes have broken various
programs in the past. On the other hand, I don't consider that to be a
blocker for API OWNER shipping decisions, and if the other browsers have
implemented it successfully and your reviewers seem reasonably confident
it will work out fine, we should just make sure we're all compatible:
LGTM1
/Daniel
On 2023-07-14 05:59, Hayato Ito wrote:
Contact emails
[email protected]
Specification
https://url.spec.whatwg.org
Summary
The context: This is a part of the URL interop 2023. Please see the
CL's description [1] for more details. A reviewer recommended sending
I2S [2] for this change. There was also a discussion regarding a
potential risk [3].
--
Chrome currently considers a URL invalid if the URL's path part
contains "%00" (or null), which is not compliant with the URL Standard
[4]. For example, the following test fails in Chrome because `new
URL(..)` throws an Invalid URL exception. assertEquals(new
URL("http://example.com/%00").pathname, "/%00"); According to the URL
Standard, any character or byte sequence in URL path should not make
the URL invalid. Note: In other parts of URL, "%00" may still be
considered invalid. For example, new URL("http://example%00.com/
<http://00.com/>"); throws an exception because "%00" is not a valid
host codepoint.
- [1] https://crrev.com/c/4596360
- [2] https://crrev.com/c/4596360/comments/07cdcc45_545df600
- [3] https://crrev.com/c/4596360/comments/07c373bd_74564864?tab=comments
- [4] https://url.spec.whatwg.org/
Blink component
Blink>Network
<https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3ENetwork>
TAG review
None
TAG review status
Not applicable
Risks
Interoperability and Compatibility
/Gecko/: Shipped
/WebKit/: Shipped
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
Tracking bug
https://bugs.chromium.org/p/chromium/issues/detail?id=1400251
Estimated milestones
Shipping on desktop 117
Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/4763113357836288
--
Hayato
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAFpjS_2QN_6E_ianHrUVi%3DcR1J1x-nnmEg4N-A1t_jx8xwL9FA%40mail.gmail.com
<https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAFpjS_2QN_6E_ianHrUVi%3DcR1J1x-nnmEg4N-A1t_jx8xwL9FA%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 [email protected].
To view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/badb0c43-3bc8-95ea-72fe-278f905831bb%40gmail.com.