Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127925 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by lists.php.net (Postfix) with ESMTPS id F113F1A00BC for ; Mon, 7 Jul 2025 06:47:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1751870767; bh=MPPHu4N9UFn3fe5UiZMhrcVV223q8QRZKj3m6WwgX3c=; h=From:Subject:Date:In-Reply-To:Cc:To:References:From; b=YpUPMVDaAIsfWD3WjPWk0sxQ51dd4HyJAYzs+qxUGtv1BXkQryWCc2JbDChh0Ol+O p096pMAOWDkVGfrEOoZSSTTeVTbRkhp4kJsthoroWrh5jzOyZR0e0JhVvLZ8mX5Olc /vbIpkFx8P8cB6++3I3u4Ke48fXOEmIz9L5PfDQszcFRKXS6OFTU26GRrNwVeHsf8p 3le43BkloxZyH/P2ZK54jGqXjcO7dhx64r5mAzdCYRnMlNZikoYW0J0+iG4U52opug XiJmxz5O7iuy5fJYLed3HyXKz92M82NdzQw/7l/nUNo7wa6sOhSWJ0tCx4xVbAAK5C e8UYdCsvbT4kA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 0302E180068 for ; Mon, 7 Jul 2025 06:46:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 7 Jul 2025 06:45:56 +0000 (UTC) Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-3a588da60dfso1713157f8f.1 for ; Sun, 06 Jul 2025 23:47:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1751870866; x=1752475666; darn=lists.php.net; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=u3Z6hp+PTWfL89MNssxRJYebJgETmjC3HKmX1O6Ao8E=; b=ChmvPhCQauouSUIuHF6dBXS1p2Luv9eqnvayzJurH87TehhIIDF2LQXRp9uh83TYm3 Fl/iuQnO7om/Na8hL5nhSuc+m9JPstcjUQY5xUfHPAW4hjjg3HCQEyi+FTRjsZeqyB/p aq0Hd2lQ/uWFdATcWmX1f25onu0G3WjylyO4VFx1iy9Z/BEqKblGQ96Aw+xcX7LYi2Vr 7kn3loxpLohbHhXv+by/g3jqZPLkdk6iDyLpX8wUmwJcGYhCRmL3+VW2pGHjpbqE/sBu CZW9PLwDySxEPNFZNoH2fcrvdfyUh/TecXdUjyVNvE/7UCD8qsBOnYMPyVMF3cnWnI44 CGnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751870866; x=1752475666; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=u3Z6hp+PTWfL89MNssxRJYebJgETmjC3HKmX1O6Ao8E=; b=sfJFJElmzyjBVBGPtrrYsvBY6w6QktosihzDHvOsDoQDotLi/M9FeLVv4E68zU4JFY CsxVPf7T4UCJzlR7DZjLvLNUXIjoDbtY6ZZHPVUeKc2uuo7cEXAJReIlwNwL99lt9DMC TvqJjG2LQxKZuXBfuH1mMw4XXrX/h5d5UxMeHIzWLgvdXDI5x84Rc31zhaCGIHQZY9UQ eIxfn0u5bGZpy7iSW22q6F5h5mlAwpVQfxoJ3tlV6foBR0qiYA/cK3oiHbrSSEswJExo VCdoBnmfm6K3pjuxrCtjye/NPlvz3/3eLbiDWDD1UPUlq3FAWa7LrJ7dg30D6Bdy8POx NB9A== X-Forwarded-Encrypted: i=1; AJvYcCXr5HHZQroQXXhPOWg26TIhXCyC8o4Vgo21P/GzwHGObNIh9xC2rfVLzywaG+wN6CiHCsSHjrpMH+8=@lists.php.net X-Gm-Message-State: AOJu0YzwULCAxg7sraq3uytIA4wiH6sw7YMJIfAxye2SvQFxEdtkvHeV oFXeOLUoQovzpSc2bo+VbUvS+2ItY032af8ELNJ5hAynawFqYP0BjBe4 X-Gm-Gg: ASbGnct4Gv73Zk7ksCx/lnIgL3x+UwtpZbhxLc8Hgx8+Mkn9LQZ05PUi3PPgTCshdlT AvCv7+paKnjxWydQqajazPhcuIcLxgIcVNsFRKvO8synJuZvB6gxMs2lthcACGWZ8foBhFr4JOJ lmx8CC/0H8Jnxs7EK+pwixUiH59b8gRJJrstnO7cWZsgLgP3OI6sPZ5SMJ/E3bt1SH5oyRlhWsu ITWAokwz3nDZE2vuoJj7EzX1c3nhZte8wr/3MFHOSh4IKw7uKiEf5oOzpLvdRkkzyfWdOPI07xM M5+ipAz5KHooekll5uAcupfcRPuUy/dhbQWGjcDHIDIbZlnq+iGAgd15vIVoJZcVnga7yf/n4FF rAy71GzZ+jLo6o0Y= X-Google-Smtp-Source: AGHT+IGgyhgzla8+YnYHj4DMSuAthXHbRBcWpoxNDfPSdNSxeXa8xLaTvpAvDTc03AG9dGNIwObWuQ== X-Received: by 2002:a05:6000:4383:b0:3a0:b84d:60cc with SMTP id ffacd0b85a97d-3b4964bbb0emr8724960f8f.2.1751870866183; Sun, 06 Jul 2025 23:47:46 -0700 (PDT) Received: from smtpclient.apple ([89.249.45.14]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-454b161f481sm101969355e9.2.2025.07.06.23.47.45 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 06 Jul 2025 23:47:45 -0700 (PDT) Message-ID: <328F2AB9-9D3A-405C-9C57-F0503FF4DDEF@gmail.com> Content-Type: multipart/alternative; boundary="Apple-Mail=_B4CEAD36-55B6-43B6-A9C7-8105A937191A" Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.600.51.1.1\)) Subject: Re: [PHP-DEV] [Discussion] Cookies Having Independent Partitioned State (CHIPS) Date: Mon, 7 Jul 2025 08:47:35 +0200 In-Reply-To: <8d142e3d-c1a2-4d1e-b3df-cf0c6a0f30f8@bastelstu.be> Cc: Dmitry Derepko , PHP internals To: =?utf-8?Q?Tim_D=C3=BCsterhus?= References: <8d142e3d-c1a2-4d1e-b3df-cf0c6a0f30f8@bastelstu.be> X-Mailer: Apple Mail (2.3826.600.51.1.1) From: claude.pache@gmail.com (Claude Pache) --Apple-Mail=_B4CEAD36-55B6-43B6-A9C7-8105A937191A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > Le 6 juil. 2025 =C3=A0 13:25, Tim D=C3=BCsterhus a = =C3=A9crit : >=20 > Hi >=20 > On 7/5/25 13:52, Dmitry Derepko wrote: >> I want to allow the "Partitioned" key to be set. Shall I open RFC or = is it >> possible to create only PR with improvements? >> Also, I think it may be backported to all the actual PHP versions. >=20 > Just a PR should be fine, this follows an external standard and there = should be only one obvious way to implement this. Backporting to = existing PHP versions however is not allowed, since this is not a bugfix = and the documentation of `setcookie()` already says: >=20 >> To set a cookie that includes attributes that aren't among the keys = listed, use header(). > Best regards > Tim D=C3=BCsterhus Hi, In fact, there is already a PR: = https://github.com/php/php-src/pull/12652 with a related internals = discussion: https://externals.io/message/122028 What has changed since that time, is that the feature will most probably = be implemented as specified by all major browsers. =E2=80=94Claude= --Apple-Mail=_B4CEAD36-55B6-43B6-A9C7-8105A937191A Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

Le 6 juil. 2025 =C3=A0 13:25, Tim D=C3=BCsterhus = <tim@bastelstu.be> a =C3=A9crit :

Hi

On 7/5/25 13:52, = Dmitry Derepko wrote:
I want to allow the = "Partitioned" key to be set. Shall I open RFC or is it
possible to = create only PR with improvements?
Also, I think it may be backported = to all the actual PHP versions.

Just a PR should be = fine, this follows an external standard and there should be only one = obvious way to implement this. Backporting to existing PHP versions = however is not allowed, since this is not a bugfix and the documentation = of `setcookie()` already says:

To set a = cookie that includes attributes that aren't among the keys listed, use = header().
Best regards
Tim = D=C3=BCsterhus

Hi,
In fact, there is already a PR: https://github.com/php/= php-src/pull/12652 with a related internals discussion: https://externals.io/message/= 122028

What has changed since that time, is = that the feature will most probably be implemented as specified by all = major browsers.

=E2=80=94Claude
= --Apple-Mail=_B4CEAD36-55B6-43B6-A9C7-8105A937191A--