[Webkit-unassigned] [Bug 86000] New: Take referrer policy into account when clearing the referrer header

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 9 09:36:06 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=86000

           Summary: Take referrer policy into account when clearing the
                    referrer header
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jochen at chromium.org
                CC: ap at webkit.org, abarth at webkit.org


In order to correctly support the meta-referrer tag, network stacks used by the various ports need to take the referrer policy into account when clearing the Referrer header:

e.g. in Source/WebCore/platform/network/mac/ResourceHandleMac.mm the referrer header is cleared when redirecting from https to !https. This should only happen, if the referrer policy for this request as "default". For others ("always", "never", "origin") the header should not be touched.

Test is in http/tests/security/referrer-policy-redirect-link.html

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list