Changeset 39445 in webkit
- Timestamp:
- Dec 22, 2008 5:29:05 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r39441 r39445 1 2008-12-22 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com> 2 3 Reviewed by George Staikos. 4 5 Fixes: https://bugs.webkit.org/show_bug.cgi?id=22971 6 7 Fix regression caused by the HTMLFormElement refactorization. 8 File form elements without a name have to be included in multipart/form-data 9 submission. Cover this behaviour with a new test case. 10 11 * http/tests/misc/empty-file-formdata-expected.txt: Added. 12 * http/tests/misc/empty-file-formdata.html: Added. 13 * http/tests/misc/resources/check-unnamed-file-included-in-formdata.php: Added. 14 1 15 2008-12-22 David Kilzer <ddkilzer@apple.com> 2 16 -
trunk/WebCore/ChangeLog
r39444 r39445 1 2008-12-22 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com> 2 3 Reviewed by George Staikos. 4 5 Fixes: https://bugs.webkit.org/show_bug.cgi?id=22971 6 7 Fix regression caused by the HTMLFormElement refactorization. 8 File form elements without a name have to be included in multipart/form-data 9 submission. Cover this behaviour with a new test case. 10 11 Test: http/tests/misc/empty-file-formdata.html 12 13 * html/HTMLFormElement.cpp: 14 (WebCore::HTMLFormElement::createFormData): 15 * wml/WMLTagNames.in: 16 1 17 2008-12-22 David Kilzer <ddkilzer@apple.com> 2 18 -
trunk/WebCore/html/HTMLFormElement.cpp
r39430 r39445 208 208 } 209 209 210 // We have to include the filename=".." part in the header, even if the filename is empty 211 // Covered by LayoutTests/http/tests/misc/empty-file-formdata.html 212 m_formDataBuilder.addFilenameToMultiPartHeader(header, encoding, fileName); 213 210 214 if (!fileName.isEmpty()) { 211 m_formDataBuilder.addFilenameToMultiPartHeader(header, encoding, fileName);212 213 215 // FIXME: The MIMETypeRegistry function's name makes it sound like it takes a path, 214 216 // not just a basename. But filename is not the path. But note that it's not safe to
Note: See TracChangeset
for help on using the changeset viewer.