#10335 introduces configuration to set a default samesite value for cookies, but because of BC concerns we couldn't add parameters to set a specific samesite value for any (separate) given cookie.
Acceptance criteria
PRs
Kitchen sink CI run
Note this doesn't include any fixes from silverstripe/.github#376 so some builds may be red
Compare with https://github.com/silverstripe/recipe-kitchen-sink/actions/runs/13821934870
#10335 introduces configuration to set a default samesite value for cookies, but because of BC concerns we couldn't add parameters to set a specific samesite value for any (separate) given cookie.
Acceptance criteria
$sameSite param = ''is added as added to the following:CookieJar::outputCookie()Cookie::set(),Cookie_Backend::set()andCookieJar::set()Cookie::forceExpiry(),Cookie_Backend::forceExpiry()andCookieJar::forceExpiry()?Cookie.default_samesiteconfiguration variableSession::start()should pass itssamesitevalue into this parameter instead ofCookieJarchecking theSession.cookie_samesiteconfig.PRs
Kitchen sink CI run
Note this doesn't include any fixes from silverstripe/.github#376 so some builds may be red
Compare with https://github.com/silverstripe/recipe-kitchen-sink/actions/runs/13821934870