Branch: refs/heads/webkitglib/2.54
Home: https://github.com/WebKit/WebKit
Commit: ec5924faf56d648a79a4085161647ef33ad57dcd
https://github.com/WebKit/WebKit/commit/ec5924faf56d648a79a4085161647ef33ad57dcd
Author: Nikolas Zimmermann <[email protected]>
Date: 2026-09-15 (Tue, 15 Sep 2026)
Changed paths:
R
LayoutTests/platform/gtk/http/tests/inspector/network/intercept-request-properties-expected.txt
R
LayoutTests/platform/gtk/http/tests/inspector/network/intercept-request-subresource-expected.txt
M Source/WebCore/platform/network/soup/ResourceRequestSoup.cpp
Log Message:
-----------
Cherry-pick 321200@main (80c3dd2b2cf3).
https://bugs.webkit.org/show_bug.cgi?id=324240
[Soup] Invalid HTTP method crashes the network process with newer libsoup
https://bugs.webkit.org/show_bug.cgi?id=324240
Reviewed by Carlos Garcia Campos and Adrian Perez de Castro.
Newer libsoup rejects HTTP methods that are not RFC 9110 tokens, including
the
empty string: soup_message_new_from_uri() returns NULL and the network
process
crashes. Web Inspector request interception can set such a method, as in
http/tests/inspector/network/intercept-request-properties.html.
Send an empty method as GET, which is what the cross-platform expected
result
for that test shows, and fail the load for any other invalid method.
Remove two GTK specific overrides, that now match the cross-platform
results.
*
LayoutTests/platform/gtk/http/tests/inspector/network/intercept-request-properties-expected.txt:
Removed.
*
LayoutTests/platform/gtk/http/tests/inspector/network/intercept-request-subresource-expected.txt:
Removed.
* Source/WebCore/platform/network/soup/ResourceRequestSoup.cpp:
(WebCore::ResourceRequest::createSoupMessage const):
Canonical link: https://commits.webkit.org/321200@main
Canonical link: https://commits.webkit.org/317695.327@webkitglib/2.54
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications