[Webkit-unassigned] [Bug 148128] Decode data URLs in web process

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 19 11:14:21 PDT 2015


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

--- Comment #21 from Darin Adler <darin at apple.com> ---
(In reply to comment #20)
> We need to do something along these lines because data urls expect bytes to
> get through unmodified even when not using base64. This kind of stuff is
> supposed to work:
> 
> data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0D...

Yes, there’s no question that for data URLs we want to decode into bytes, not characters. I think it's a bit peculiar that we decode into a String rather than a SharedBuffer or something like that.

My point was about the other callers of this API, not a doubt that this was correct for data URL handling.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150819/2aa387a9/attachment.html>


More information about the webkit-unassigned mailing list