Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d5c7316078da74b5a5324742e4bd46b4856bc252
https://github.com/WebKit/WebKit/commit/d5c7316078da74b5a5324742e4bd46b4856bc252
Author: Ahmad Saleem <[email protected]>
Date: 2026-09-12 (Sat, 12 Sep 2026)
Changed paths:
M Source/WebCore/platform/network/ResourceResponseBase.cpp
Log Message:
-----------
isSafeRedirectionResponseHeader() lists HTTPHeaderName::ReferrerPolicy twice
https://bugs.webkit.org/show_bug.cgi?id=324029
rdar://187260528
Reviewed by Charlie Wolfe.
isSafeRedirectionResponseHeader() in ResourceResponseBase.cpp checks
HTTPHeaderName::ReferrerPolicy twice in the same || chain. The second
comparison is redundant and can never affect the result. Remove it.
No change in behavior.
* Source/WebCore/platform/network/ResourceResponseBase.cpp:
(WebCore::isSafeRedirectionResponseHeader):
Canonical link: https://commits.webkit.org/320999@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications