Bug 149709

Summary: Network cache: Subresource referer header wrong after cached redirect
Product: WebKit Reporter: Antti Koivisto <koivisto>
Component: Page LoadingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: barraclough, cdumez
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
patch
none
patch
cdumez: review+
for landing none

Description Antti Koivisto 2015-10-01 08:59:33 PDT
If a main resource is loaded from a cache entry that involved redirects the document will end up setting the Referer-headers of the subresources to the request URL not the redirected URL
Comment 1 Antti Koivisto 2015-10-01 08:59:58 PDT
<rdar://problem/22917174>
Comment 2 Antti Koivisto 2015-10-01 09:21:02 PDT
Created attachment 262260 [details]
patch
Comment 3 Antti Koivisto 2015-10-01 09:22:44 PDT
Created attachment 262261 [details]
patch
Comment 4 Chris Dumez 2015-10-01 10:30:05 PDT
Comment on attachment 262261 [details]
patch

r=me
Comment 5 Antti Koivisto 2015-10-01 10:46:33 PDT
Created attachment 262269 [details]
for landing
Comment 6 Antti Koivisto 2015-10-01 11:10:02 PDT
https://trac.webkit.org/r190418