[webkit-changes] [WebKit/WebKit] e71ddb: Move check for localhost / IP address earlier befo...
Commit Queue
noreply at github.com
Wed Jul 24 15:12:27 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e71ddbb21a78ccd4458cb51a3dc242766c63734c
https://github.com/WebKit/WebKit/commit/e71ddbb21a78ccd4458cb51a3dc242766c63734c
Author: Matthew Finkel <m_finkel at apple.com>
Date: 2024-07-24 (Wed, 24 Jul 2024)
Changed paths:
M Source/WebCore/platform/network/ResourceRequestBase.cpp
M Tools/TestWebKitAPI/Tests/WebKitCocoa/Navigation.mm
Log Message:
-----------
Move check for localhost / IP address earlier before upgrading scheme
https://bugs.webkit.org/show_bug.cgi?id=277004
rdar://132408359
Reviewed by Pascoe and Charlie Wolfe.
This is a small fixup on 281156 at main. The check for localhost and IP address is
now after the scheme upgrade happens, which is not correct. This patch moves it
before the mutation.
* Source/WebCore/platform/network/ResourceRequestBase.cpp:
(WebCore::ResourceRequestBase::upgradeInsecureRequestIfNeeded):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/Navigation.mm:
(TEST(WKNavigation, HTTPSFirstLocalHostIPAddress)):
Canonical link: https://commits.webkit.org/281318@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list