-
Notifications
You must be signed in to change notification settings - Fork 581
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Support session cookies with "Partitioned" #2179
Comments
Without a spec this seems unlikely to happen. |
What do you mean ? |
Here are the specs: https://developer.mozilla.org/en-US/docs/Web/Privacy/Privacy_sandbox/Partitioned_cookies @nchaigne e this is what I did: my $partitioned = $app->sessions->cookie_path;
$partitioned =~ s/(?:; Partitioned)*$/; Partitioned/;
$app->sessions->cookie_path($partitioned); As the Maybe this would be better? my $partitioned = $app->sessions->cookie_path;
if (not $partitioned =~/; Partitioned(;|$)/) {
$app->sessions->cookie_path($partitioned . '; Partitioned');
} |
Gives current browser support, i'd be in favour of this feature. |
You mean like this? |
Third-party cookies will "soon" be phased out.
As seen in Firefox console for example:
Cookie "mojolicious" will soon be rejected because it is foreign and does not have the "Partitioned" attribute.
I would like Mojolicious to support "Partitioned" session cookies, so we can keep using session cookies with CORS.
Thank you for considering this.
The text was updated successfully, but these errors were encountered: