Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2a34965d65c31f32cb04643d29b81c6454584976
      
https://github.com/WebKit/WebKit/commit/2a34965d65c31f32cb04643d29b81c6454584976
  Author: Charlie Wolfe <[email protected]>
  Date:   2025-05-28 (Wed, 28 May 2025)

  Changed paths:
    M Source/WTF/wtf/URL.cpp
    M Source/WTF/wtf/URL.h
    M Source/WebKit/WebProcess/WebPage/Cocoa/WebPageCocoa.mm
    M Tools/TestWebKitAPI/Tests/WebKit/AdvancedPrivacyProtections.mm

  Log Message:
  -----------
  Allow tracking query parameters with values containing 8 bits of entropy
https://bugs.webkit.org/show_bug.cgi?id=293655
rdar://152095580

Reviewed by Wenson Hsieh and Matthew Finkel.

This change adds an exemption for blocked query parameters whose values contain 
8 or fewer bits of
entropy (in decimal). This exemption does not affect existing opt-in privacy 
protections.

* Source/WTF/wtf/URL.cpp:
(WTF::removeQueryParameters):
* Source/WTF/wtf/URL.h:
* Source/WebKit/WebProcess/WebPage/Cocoa/WebPageCocoa.mm:
(WebKit::WebPage::applyLinkDecorationFilteringWithResult):
(WebKit::WebPage::allowedQueryParametersForAdvancedPrivacyProtections):
* Tools/TestWebKitAPI/Tests/WebKit/AdvancedPrivacyProtections.mm:
(TestWebKitAPI::TEST(AdvancedPrivacyProtections, 
DoNotRemoveTrackingQueryParametersWith8BitValues)):

Canonical link: https://commits.webkit.org/295494@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