http-extensions icon indicating copy to clipboard operation
http-extensions copied to clipboard

[WIP] RFC6265bis: "Lax-Allowing-Unsafe" applies to cross-site redirect

Open sbingler opened this issue 2 years ago • 0 comments

This PR is a WIP while waiting on data to show us that this is the correct approach.

Until https://github.com/httpwg/http-extensions/pull/1348, the spec mistakenly didn't define the same-site-ness to include the redirect chain. When some UAs, such as Chrome, attempted to apply the changes in https://github.com/httpwg/http-extensions/pull/1348 they found that users complained of breakage. Bug reports hinted that this occurred during similar situations as Lax+POST, i.e.: young cookies with an unsafe method.

This changes modifies lax-allowing-unsafe to also include cookies that being blocked due a cross-site redirect with an unsafe method. It retains the suggested 2 min limit on cookie age.

sbingler avatar Dec 15 '22 00:12 sbingler