Bug 149709 - Network cache: Subresource referer header wrong after cached redirect
Summary: Network cache: Subresource referer header wrong after cached redirect
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-10-01 08:59 PDT by Antti Koivisto
Modified: 2015-10-01 11:10 PDT (History)
2 users (show)

See Also:


Attachments
patch (6.86 KB, patch)
2015-10-01 09:21 PDT, Antti Koivisto
no flags Details | Formatted Diff | Diff
patch (6.92 KB, patch)
2015-10-01 09:22 PDT, Antti Koivisto
cdumez: review+
Details | Formatted Diff | Diff
for landing (7.40 KB, patch)
2015-10-01 10:46 PDT, Antti Koivisto
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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