Branch: refs/heads/webkitglib/2.52
Home: https://github.com/WebKit/WebKit
Commit: dcfb7872d449ce86d9b6b598b0a70ae0dbf33dc7
https://github.com/WebKit/WebKit/commit/dcfb7872d449ce86d9b6b598b0a70ae0dbf33dc7
Author: Youenn Fablet <[email protected]>
Date: 2026-03-12 (Thu, 12 Mar 2026)
Changed paths:
A LayoutTests/http/wpt/fetch/resources/wrong-form-data.py
A LayoutTests/http/wpt/fetch/wrong-form-data-expected.txt
A LayoutTests/http/wpt/fetch/wrong-form-data.html
M Source/WebCore/Modules/fetch/FetchBodyConsumer.cpp
Log Message:
-----------
Cherry-pick 309130@main (ff70c312f1bb).
https://bugs.webkit.org/show_bug.cgi?id=309676
Parsing multipart form data should check that the boundary is followed by
CRLF or "--"
rdar://172038722
https://bugs.webkit.org/show_bug.cgi?id=309676
Reviewed by Chris Dumez.
We make sure that the parser checks that next two bytes after the boundary
are either '--' or crlf.
Otherwise, we bail out and form data parsing fails.
Covered by added test.
Canonical link: https://commits.webkit.org/309130@main
Canonical link: https://commits.webkit.org/305877.186@webkitglib/2.52
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications