Summary: | Empty <input type=file> controls don't show up in the urlencoded and text/plain enctypes | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Andreu Botella <andreu> | ||||
Component: | Forms | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | achristensen, ap, beidson, bfulgham, cdumez, changseok, darin, esprehn+autocc, ews-watchlist, gyuyoung.kim, mifenton, webkit-bug-importer, wenson_hsieh | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Andreu Botella
2021-02-08 06:44:45 PST
Created attachment 444206 [details]
Patch
Committed r285808 (244252@main): <https://commits.webkit.org/244252@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 444206 [details]. Comment on attachment 444206 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=444206&action=review > Source/WebCore/html/FileInputType.cpp:174 > + formData.append(name, ""); I think this should probably be emptyString() instead of "", for better efficiency. Comment on attachment 444206 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=444206&action=review >> Source/WebCore/html/FileInputType.cpp:174 >> + formData.append(name, ""); > > I think this should probably be emptyString() instead of "", for better efficiency. Fixing this in https://bugs.webkit.org/show_bug.cgi?id=233229 This change should be present in STP 139, iOS 15.4 Beta, and macOS 12.3 Beta. |