Re: [whatwg/url] Web reality: Filenames should be newline-normalized in urlencoded (#562)

A `FormData` populated from script already doesn't perform any normalization, so you can end up with a `multipart/form-data` with `\n` rather than `\r\n` in the names. (This per the spec and Chrome's behavior; Firefox and WebKit seem to [normalize when serializing](https://wpt.fyi/results/FileAPI/file/send-file-formdata-controls.tentative.html) rather than [when constructing the entry list](https://wpt.fyi/results/html/semantics/forms/form-submission-0/newline-normalization.html).)

-- 
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/url/issues/562#issuecomment-744486777

Received on Monday, 14 December 2020 14:44:15 UTC