Open Bug 1657844 Opened 4 years ago Updated 3 years ago

Refactor line break normalization in form submission

Categories

(Core :: DOM: Forms, task, P3)

task

Tracking

()

People

(Reporter: jdai, Unassigned)

References

(Blocks 1 open bug)

Details

Severity: -- → S4
Blocks: 1651887
Severity: S4 → N/A
Type: enhancement → task
Priority: -- → P3

I recently added wpt tests to test for this, among other corner cases in the multipart/form-data encoding and the behavior of FormData objects (https://github.com/web-platform-tests/wpt/pull/26556), and the fact that you can construct a FormData object from a form and read from it means that the newline normalization not happening when appending an entry is web-observable. (https://wpt.fyi/results/html/semantics/forms/form-submission-0/newline-normalization.html?label=master&label=experimental&product=firefox&aligned)

(In reply to Andreu Botella from comment #1)

I recently added wpt tests to test for this, among other corner cases in the multipart/form-data encoding and the behavior of FormData objects (https://github.com/web-platform-tests/wpt/pull/26556), and the fact that you can construct a FormData object from a form and read from it means that the newline normalization not happening when appending an entry is web-observable. (https://wpt.fyi/results/html/semantics/forms/form-submission-0/newline-normalization.html?label=master&label=experimental&product=firefox&aligned)

Whether this is a bug or not is now being reconsidered in the spec: https://github.com/whatwg/html/issues/6469

You need to log in before you can comment on or make changes to this bug.