Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: dfe2e0efc818246695f6f3b0165e21970d4b40bb
https://github.com/WebKit/WebKit/commit/dfe2e0efc818246695f6f3b0165e21970d4b40bb
Author: Per Arne Vollan <[email protected]>
Date: 2026-04-21 (Tue, 21 Apr 2026)
Changed paths:
M Source/WebKit/NetworkProcess/NetworkResourceLoadParameters.cpp
M Source/WebKit/NetworkProcess/NetworkResourceLoadParameters.h
M Source/WebKit/WebProcess/Network/WebLoaderStrategy.cpp
Log Message:
-----------
The WebContent process should not start local files loads for files it cannot
access
https://bugs.webkit.org/show_bug.cgi?id=306827
rdar://168696983
Reviewed by Chris Dumez.
This will prevent local file loads from succeeding when the WebContent process
does not have access to the file,
but the Networking process does.
* Source/WebKit/NetworkProcess/NetworkResourceLoadParameters.cpp:
(WebKit::NetworkResourceLoadParameters::createSandboxExtensionHandlesIfNecessary):
* Source/WebKit/NetworkProcess/NetworkResourceLoadParameters.h:
* Source/WebKit/WebProcess/Network/WebLoaderStrategy.cpp:
(WebKit::WebLoaderStrategy::scheduleLoadFromNetworkProcess):
Originally-landed-as: 305413.239@safari-7624-branch (b87ed58db51b).
rdar://173968931
Canonical link: https://commits.webkit.org/311745@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications