Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:103193 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 61327 invoked from network); 20 Sep 2018 10:09:25 -0000 Received: from unknown (HELO mail-ot1-f47.google.com) (209.85.210.47) by pb1.pair.com with SMTP; 20 Sep 2018 10:09:25 -0000 Received: by mail-ot1-f47.google.com with SMTP id h26-v6so8267947otl.9 for ; Wed, 19 Sep 2018 23:15:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=qVzBCC+Cdm/BvtY7w6pBE+huSPKKSHwUuSmHmqxkJa8=; b=CN6leGqSUHQiD9xWHvPsyFApoHeTKnSqXGLyJDTBeeiNx+oX1gdDRwx/8xG4xx+/iG Hs5VjNf1+Y4uBaw/IAAMIgcjk6RCzFHXWYPwCbudl5PmPg2Uy5mNG0FtLwj44TdCU8f9 7c+HMSQghQG31Y466K8YOL0LNx71sAaCAYml20mXYPNWUoMtljoElmU6zcluHEBh88rE JHQ/JTXxkJejq9NXZ3OPrEt8H0kuKeZ+c22LGu0YrHTysu8NGb2pqNSwfguV8BU3ya+0 VVmPo+DeuOWrW3J7fhOoBRGLg59GMpoRqq+LWpboPhN2RQWt6P5f84gbqo1hXSGZVDT9 NusA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=qVzBCC+Cdm/BvtY7w6pBE+huSPKKSHwUuSmHmqxkJa8=; b=CqacNTwWyHNmcZZsQgu4+mPWaCOv9Yvg8mF9Se7CnjZXHSL+UaipkQSLDdkErDvdTU rnzCYvno4JlaGifoEJQ7O8hQtjJ+OUvvKVxUVVxqtjvakQZ2b+o4j2j7x70DN50eXkkI qj1AOkLO+QRt4Vnl+8J02wZ1l8q57Mfu78KnYPHVB0vpDIEv6oK0iYT/qMd9MgoL+du+ d+esXsODp91s2hNnWo6EM0rFofjVhdnybR4xY7IHgw6bkZLU5xhTfnQKwUZfyQ27/mIn uIbnLKLuHMqQZyekRLW1HEezg2UGr0xCt6y6BdV9qufmVUrSVdrTWRQL9P5qYeKu5hLT DTpg== X-Gm-Message-State: APzg51Av+BKwnfPAlIreSWm9kzm3A0zdKTf6WNOHOWhtiCQrA2b+mrzu UtP1Fpsch8L/kb+nAfxjxvvqkbT8ZKspNi1fFvFQaVv/ X-Google-Smtp-Source: ANB0VdaXofS1mUG9RS9E44I2IY6fkdcAPOy+16/k6d8YR2w2XwBccDKnBqLL+dFuCr5/bBCBRi4kppzQ+lj5iAVs3aA= X-Received: by 2002:a9d:865:: with SMTP id 92-v6mr20498522oty.175.1537424157194; Wed, 19 Sep 2018 23:15:57 -0700 (PDT) MIME-Version: 1.0 Date: Thu, 20 Sep 2018 08:15:44 +0200 Message-ID: To: PHP Internals List Content-Type: multipart/alternative; boundary="000000000000c23eb205764774f6" Subject: setcookie() doesn't follow the RFC in 7.3 From: nicolas.grekas@gmail.com (Nicolas Grekas) --000000000000c23eb205764774f6 Content-Type: text/plain; charset="UTF-8" Hi all, yesterday I submitted https://bugs.php.net/76906 to report that I wasn't able to set the "samesite" attribute on cookies while I followed what's been approved in https://wiki.php.net/rfc/same-site-cookie Damian answered on the bug report that the $options argument has swallowed the lifetime one, so that $options is now the 3rd arg and not the 4th as noted in the RFC. He suggested me to raise the topic on internals, so here we are. Are we fine with this? If yes, shouldn't an errata be added to the RFC so that ppl aren't confused like I was? Cheers, Nicolas --000000000000c23eb205764774f6--