Chromium Code Reviews
DescriptionFix CanonicalCookie::IsEquivalentForSecureCookieMatching
This method relies on the Source() of a cookie, which is not set
consistently. In particular, it's not set on cookies that have been
loaded from disk. This CL fixes the method, and removes storing the
source URL on cookies entirely to protect against future bugs.
Since the new implementation of IsEquivalentForSecureCookieMatching is
a little more expensive, also reorder code to call it a bit less often.
BUG=620770, 624004
Committed: https://crrev.com/2830b0728b273d6fe15ecb28a1c27aa6cddd6c08
Cr-Commit-Position: refs/heads/master@{#406567}
Patch Set 1 #
Messages
Total messages: 18 (12 generated)
|
|||||||||||||||||||||||||||||||||||||