DescriptionLoosen strict 'Secure' checks for non-overlapping paths.
After a bit of discussion in [1], the latest strict 'Secure' draft [2]
relaxes the equivalency checks for strict 'Secure' enforcement to allow
a non-secure cookie whose path does not overlap an existing secure
cookie's path to be set.
That is, given a secure cookie at '/path', a non-secure cookie can be
set at '/not-path', but not at '/path/subpath'.
This carveout allows us to harden 'Secure' without breaking folks who
host both secure and non-secure applications on a single domain. That
turned out to be the root cause of the breakage Blizzard experienced
in https://crbug.com/580770.
[1]: https://github.com/httpwg/http-extensions/issues/223
[2]: https://tools.ietf.org/html/draft-ietf-httpbis-cookie-alone-01
BUG=580770
R=jww@chromium.org
Committed: https://crrev.com/2c857fb16cdef9783ba3caeb586b9a3648114b17
Cr-Commit-Position: refs/heads/master@{#417237}
Patch Set 1 #
Total comments: 2
Patch Set 2 : jww@ #Patch Set 3 : oops #
Messages
Total messages: 18 (10 generated)
|