Bug 208681

Summary: A request's referrer string should be used to determine if request is cross-origin
Product: WebKit Reporter: Dominic Farolino <domfarolino>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: achristensen, ahmad.saleem792, cdumez, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar, WPTImpact
Version: Safari 13   
Hardware: Unspecified   
OS: Unspecified   

Dominic Farolino
Reported 2020-03-05 17:23:23 PST
Currently the Referrer Policy standard, and seemingly WebKit, both compare a request's origin and request's current URL's origin, when determining if a request is cross-origin or not, for the purpose of the same-origin / origin-when-cross-origin referrer policy. We're interested in changing the standard to instead compare the request's _referrer string's_ origin with the request's current URL's origin. These are not always the same comparison. Consequently, Safari fails the proposed tests: - https://github.com/web-platform-tests/wpt/pull/22038 Please see https://github.com/w3c/webappsec-referrer-policy/issues/123 for more details
Attachments
Radar WebKit Bug Importer
Comment 1 2020-03-08 17:55:00 PDT
Note You need to log in before you can comment on or make changes to this bug.