Bug 24091 - Start of redirect chain ends up as master entry in Application Cache
Summary: Start of redirect chain ends up as master entry in Application Cache
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Alexey Proskuryakov
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2009-02-23 04:32 PST by Alexey Proskuryakov
Modified: 2009-02-24 05:43 PST (History)
0 users

See Also:


Attachments
proposed fix (5.41 KB, patch)
2009-02-23 04:39 PST, Alexey Proskuryakov
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2009-02-23 04:32:39 PST
<rdar://problem/6468660>

If a series of redirects ends up at a page that references an Application Cache manifest, the start of the redirect chain ends up as a master entry in the Application Cache database.

This is undesirable e.g. if the redirecting page points to different urls dynamically based on cookies. It also subverts the same-domain nature of master resources.
Comment 1 Alexey Proskuryakov 2009-02-23 04:39:14 PST
Created attachment 27879 [details]
proposed fix
Comment 2 Darin Adler 2009-02-23 11:52:28 PST
Comment on attachment 27879 [details]
proposed fix

r=me
Comment 3 Alexey Proskuryakov 2009-02-24 05:43:16 PST
Committed <http://trac.webkit.org/changeset/41178>.