Re: [whatwg/fetch] Define data: URLs (#579)

Just so that there is no room for doubt, the kinds of problems that were reported in old bugs do still exist. In a search for "data: image/" in httparchive (204 hits) it wasn't hard to find real cases:
<img width="1012" alt="screen shot 2018-01-19 at 12 27 48 am" src="https://user-images.githubusercontent.com/498917/35126901-cd3a78d0-fcaf-11e7-999b-767c0ef70e4e.png">

(Minified in https://software.hixie.ch/utilities/js/live-dom-viewer/saved/5761)

<img width="1012" alt="screen shot 2018-01-19 at 12 29 09 am" src="https://user-images.githubusercontent.com/498917/35126906-d0f4e10e-fcaf-11e7-8be1-0368d822f763.png">

Now, 204 is not a big number, but spaces after "data: " already works everywhere, and I think the web developers who would have to spend time fixing it would be justifiably annoyed if they knew we could have spared them the trouble.

FWIW, the "space before comma" case isn't interoperable, it doesn't work in Safari:
https://software.hixie.ch/utilities/js/live-dom-viewer/saved/5762

-- 
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/fetch/pull/579#issuecomment-358820916

Received on Thursday, 18 January 2018 23:51:53 UTC