Chromium Code Reviews
DescriptionPreserve referrer across CORS-enabled redirects
When following a CORS-enabled redirect in DocumentThreadableLoader, use
the previous leg's referrer as the starting point instead of the
document's URL. This matches the Referrer Policy spec and ensures that
information is never added to the referrer when following a
redirect. (In other words, if the referrer is stripped in one leg of a
request, it will not be re-created in a subsequent leg.)
BUG=628457
Committed: https://crrev.com/8aa9abc54f9bfedcce035846a2cc898d5b252957
Cr-Commit-Position: refs/heads/master@{#406289}
Patch Set 1 #Patch Set 2 : add layout test #Patch Set 3 : add comment #
Messages
Total messages: 11 (5 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||