Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e71ddbb21a78ccd4458cb51a3dc242766c63734c
      
https://github.com/WebKit/WebKit/commit/e71ddbb21a78ccd4458cb51a3dc242766c63734c
  Author: Matthew Finkel <[email protected]>
  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@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
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to