Re: [whatwg/fetch] Should Body.formData() always strip the BOM? (#650)

Are you only talking about stripping an initial BOM and not for name/value? https://url.spec.whatwg.org/#urlencoded-parsing doesn't do such a thing, though we could consider changing how it works I suppose.

Doing an early decode there would be unfortunate however as for percent decoding that would end up with quite a few more roundtrips. And you cannot percent decode first as that would mangle with the syntax. You'd basically have to special case the initial UTF-8 BOM as an initial step and strip it or some such.

-- 
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/650#issuecomment-353035603

Received on Wednesday, 20 December 2017 11:12:51 UTC