[Webkit-unassigned] [Bug 21975] decodeURLEscapeSequences will generate embedded null characters

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 29 05:37:56 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=21975

--- Comment #2 from Anne van Kesteren <annevk at annevk.nl> ---
I'm not sure, but there is behavior here that is not defined in the specification. Compare:

  data:text/html,a%00a
  data:text/html,a%01a

In the first data: URL the 0x00 byte is dropped. The 0x01 byte is preserved. That does not seem like great behavior to me. I filed https://github.com/whatwg/fetch/issues/1748 as a start.

Now obviously we have to look at other consumers as well for this bug to fully rule out anything problematic.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240429/d56ed67d/attachment.htm>


More information about the webkit-unassigned mailing list