Re: [whatwg/fetch] investigate data: URL quoted parameters (#970)

@gibson042 it seems like adding that to the algorithm itself would need to put the decoding in https://mimesniff.spec.whatwg.org/#parse-a-mime-type somehow, which would be a new flag or something and needs to be checked/tests added to handle a few odd cases:

encoded `=`

```url
data:text/javascript;charset%3DUTF-8;
```

quoted encoded characters

```url
data:text/javascript;charset="UTF%5C-8";
```

mismatched quote encoding

```url
data:text/javascript;charset="charset=UTF-8%22;
```

This mostly seems an order of operations clarification but it feels like the URL encoding is intertwined with the mime parsing here.

-- 
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/issues/970#issuecomment-560428258

Received on Monday, 2 December 2019 14:49:18 UTC