[Webkit-unassigned] [Bug 221549] New: Empty <input type=file> controls don't show up in the urlencoded and text/plain enctypes
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Feb 8 06:44:45 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=221549
Bug ID: 221549
Summary: Empty <input type=file> controls don't show up in the
urlencoded and text/plain enctypes
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Forms
Assignee: webkit-unassigned at lists.webkit.org
Reporter: abb at randomunok.com
CC: cdumez at apple.com, wenson_hsieh at apple.com
The HTML spec's algorithm to construct the entry list (https://html.spec.whatwg.org/#constructing-the-form-data-set) requires that an <input type=file> control with no selected files is represented in the entry list as a File object. And WebKit follows this for the multipart/form-data enctype, but in the urlencoded and text/plain serializations that entry simply doesn't show up in the payload.
Tests: https://wpt.fyi/results/html/semantics/forms/form-submission-0/form-data-set-empty-file.window.html?label=pr_head&max-count=1&pr=27523
(this test file also tests for bug 185416)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210208/359e487d/attachment.htm>
More information about the webkit-unassigned
mailing list