Skip to content

standard: Add CHIPS support for setcookie/setrawcookie #19054

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xepozz
Copy link
Contributor

@xepozz xepozz commented Jul 6, 2025

@xepozz xepozz requested a review from bukka as a code owner July 6, 2025 17:16
@TimWolla TimWolla changed the title feat: CHIPS support for setcookie/setrawcookie standard: Add CHIPS support for setcookie/setrawcookie Jul 6, 2025
@@ -238,6 +243,7 @@ static void php_setcookie_common(INTERNAL_FUNCTION_PARAMETERS, bool is_raw)
Z_PARAM_STR(domain)
Z_PARAM_BOOL(secure)
Z_PARAM_BOOL(httponly)
Z_PARAM_BOOL(partitioned)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do not add new parameters. SameSite is only supported within the $options array as well.

see also: #10317.

@nielsdos
Copy link
Member

nielsdos commented Jul 6, 2025

FWIW, I had a previous go at this in 2023 and it required an RFC: #12652

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants