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

Tests: web-platform-tests/wpt#26740

All browser engines seem to be newline-normalizing filenames as if they were string values going through the same normalization as in HTML's [append an entry](https://html.spec.whatwg.org/#append-an-entry). This is arguably a result of implementations doing the normalizing at the end (see web-platform-tests/wpt#26556, https://bugzilla.mozilla.org/show_bug.cgi?id=1657844, https://bugs.webkit.org/show_bug.cgi?id=219086), but since all browsers share it, maybe it should be fixed in spec-land. And since browsers don't newline-normalize filenames with `multipart/form-data`, it'd have to be in the `urlencoded` serializer.

-- 
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

Received on Thursday, 3 December 2020 12:30:51 UTC