Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ff70c312f1bb9b293ae92c92fdbd864c4f0d0dff
      
https://github.com/WebKit/WebKit/commit/ff70c312f1bb9b293ae92c92fdbd864c4f0d0dff
  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:
  -----------
  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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to