Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:102944 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26749 invoked from network); 21 Jul 2018 22:26:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Jul 2018 22:26:33 -0000 Authentication-Results: pb1.pair.com smtp.mail=narf@devilix.net; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=narf@devilix.net; sender-id=pass Received-SPF: pass (pb1.pair.com: domain devilix.net designates 74.125.82.45 as permitted sender) X-PHP-List-Original-Sender: narf@devilix.net X-Host-Fingerprint: 74.125.82.45 mail-wm0-f45.google.com Received: from [74.125.82.45] ([74.125.82.45:38327] helo=mail-wm0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 21/39-47674-713B35B5 for ; Sat, 21 Jul 2018 18:26:33 -0400 Received: by mail-wm0-f45.google.com with SMTP id t25-v6so3648358wmi.3 for ; Sat, 21 Jul 2018 15:26:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=devilix.net; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=fpGLq0O3cggkxK8w96xCffR4prEMqpumOl/l/YZphFY=; b=Zv3NB0aAHP5SP2QwmkC325IBRZEaA0fqHLWQIuEuq6/LcBkxj1CLN94Yd74v9u3eqN 67MYx8H4lBfOKcBc+XKCzOEItzFWGVI9YPIWKlYt9cURYD5RIlQtF7tsv2qahHrU3UHZ 7NjvZk6qZlp9VVi1cQdyIQvQ1rK2elpMYUq/4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=fpGLq0O3cggkxK8w96xCffR4prEMqpumOl/l/YZphFY=; b=dAwr2VsCryE8oAi1IcEc61u6z8FaOdMp+h15ifc4G5RjiMar7yEH8tfIvb9qtIujLC If0Ud1ZQxwbk5rR7RdWwWavpEQemwKP55PCgiLZoIeczHUetsesIz/zW54nvy5SNqjst qE+qER6/y1kZDlOEElS3DPwsgw4l8mek/v07x1ju6QxG5P5K7gXxl/NC84ed+JLNZ/GE xaDDFYsd/38VIr8w5K4e5zypfdbLdaegBY4/Nsv7bI3PyceNYmHcH/SM39SSOW73wWxu PzDd2uLi/mzauonRMHW/3Q6ugloozftBLff7h8E7msu0drghmIZyvAFj2VKnseckltE9 OKJg== X-Gm-Message-State: AOUpUlEy2Bnv3Iz9Qi++eKzui287KfTugJFOgC+Le9/MLijpYD6C3mRL 03Y8+h8hynnc7Gh+Akh9IAPofVlkFA+qQRli4bl/pg== X-Google-Smtp-Source: AAOMgpesLqHb1Oq/+52TuU3iPxMq39B/7FKMtCAUJX+27Z8NCwXTBYPu0h0WVn00vZMsyEWFyFBmU770z4Tc6Tr/soY= X-Received: by 2002:a1c:d0ce:: with SMTP id h197-v6mr4161918wmg.97.1532211988987; Sat, 21 Jul 2018 15:26:28 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:adf:add2:0:0:0:0:0 with HTTP; Sat, 21 Jul 2018 15:26:28 -0700 (PDT) In-Reply-To: References: <1abd260d-ebc4-a062-3381-72485946e8bc@gmail.com> Date: Sun, 22 Jul 2018 01:26:28 +0300 Message-ID: To: =?UTF-8?Q?Pedro_Magalh=C3=A3es?= Cc: "Frederik Bosch | Genkgo" , Stanislav Malyshev , PHP internals Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [VOTE] Same Site Cookie RFC From: narf@devilix.net (Andrey Andreev) Hi, On Thu, Jul 19, 2018 at 12:00 AM, Pedro Magalh=C3=A3es wr= ote: > > With this being said, would anyone oppose an implementation where all the > options (including lifetime) are included in the array parameter? > Yes. All other "options" are actual *cookie attribute* names, as defined by the various IETF RFCs, while "lifetime" is just a convenient name used by PHP. It doesn't correspond to a particular attribute, but instead the values for the Expires and Max-Age attributes are derived from it. I believe during discussion I insisted that the parameter be called "attributes", for this very reason. On another note, I also wanted that pretty much any key/value pair to be accepted instead of raising an error, for forward compatibility. Unfortunately, neither of these 2 points I raised were addressed, but it also looked like the author abandoned the RFC mid-vote as he agreed that targeting 7.2 at the time wasn't a good idea, only he didn't actually close the vote. So ... I'm not even sure of the status of this RFC? Cheers, Andrey.