Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:103200 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 12103 invoked from network); 20 Sep 2018 15:06:11 -0000 Received: from unknown (HELO mout.gmx.net) (212.227.15.15) by pb1.pair.com with SMTP; 20 Sep 2018 15:06:11 -0000 Received: from [192.168.2.137] ([91.8.166.159]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0Ltr89-1fdLVw2VIT-011DLV; Thu, 20 Sep 2018 13:12:45 +0200 To: Andrey Andreev Cc: Nicolas Grekas , PHP Internals List References: <72a8942a-6f9b-8169-679c-39f03f175d32@gmx.de> Message-ID: Date: Thu, 20 Sep 2018 13:12:45 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:mWDj1EIFayOIHWMygjk52GQdM363FtWqJuOGyilJUYBOO48LDvE gcQ6qWHno0SvBsSqJ0Mkr6S0B/i3gmgg3NIOUFv6q1xkuldnYDi9kqAkPBwGYeo4k+hllE4 APTx2CG/26Kq2VON8ZHhVKbJvxAqeWmKA4iZ0gyGR5LvI8RakDj1foffFs39mkffJr7mIVc mJAF2oVp+TAMoFs2SfjVw== X-UI-Out-Filterresults: notjunk:1;V01:K0:i42lI69vBe8=:fMS5YV0TA+6QlDgFaNvK1i LrgVnvbwuP2Oc3zaTpM8FxX8MkYo8BdXh+9TNMbFiq4pEp+VhwiD5XPqJLIYZR9gb6JDjx936 WX0kkO2MHIOhrEY/z08AbzvqkiJWmFzZMf/cvr4WRGUGYGYIv2pTeVMNG+lk3GYDAyb7hKsM6 P+I194z5uRdQisiS1MtDi73ABmAuhJ0EYkx6VRkYb98zOtgHY7nRsd3QML6umvx9/mj3vUV+b ctjIJtCRJ3b9GRsFyvg2S3VIb3EobVpcQlu8ZgwbUAiQKd2A3yUpA4ta0uaWV7tgMsnT5OxkW bnx6y2UNIVu/BgHKnsyNldpX6zHRaS63LMQh2/voEKQsl5TvgyjcTv+cc9Dt2I59QQvhex0EV nGDTibS4dciJPJJjnS32jTgqQTF/+uX6rWGyb5oHqbM6XEW9QdU6utBZ6J6sdXwgoKnsKWXXJ egbaT9zGXiCy30T/hdSe+5hoHWVHIff2uWrxGMloNzuid89QPmVABpois1myo+Lsv2T4rj57q 7oB3wKJqNCYW1mgNUe8c/v1SFNOO+8S3lHw+FMiwfiGh2QctjoJmo9e96LS020Dc+f3IoYmmO 3a+B2P//tTbEs/tR9Wyb40lCc/k7rY0aD8yhHvZMkdVmkKERU8wLVND22i7VCFWrFZuIA/Pcw QaVaRIfdTbG7UzbQs2iE4l9HuYAQDAQt/XShCIgaHgTatWiFZyDKoRpSJZkOfAjlu+YX41tu7 dtYXvPx8f7dKxJJUzTUcuCFnbpPOEP3Y4J/Hyt0Y2jJFC2qPzEP2En0fF/+ucYLf1MRe/mUKe v7xg82OZ3q9UReP8fofgaB9qHWgx0bzM6+SYpdzPO8vSWWtMqQ= Subject: Re: [PHP-DEV] Re: setcookie() doesn't follow the RFC in 7.3 From: cmbecker69@gmx.de ("Christoph M. Becker") On 20.09.2018 at 12:18,Andrey Andreev wrote: > On Thu, Sep 20, 2018 at 12:12 PM, Christoph M. Becker wrote: > >> On 20.09.2018 at 08:15, Nicolas Grekas wrote: >> >>> 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? >> >> Related discussion: ff. >> >> Not sure if an errata (or amendment) should be added to the RFC, or >> whether it is sufficient to document the new signatures in the manual >> proper and the migration guide. > > Since a PR with that change has been merged, apparently a side was > chosen and so be it, I guess. But given all of the above, I think > adding an errata to the RFC is the least that should be done. The SameSite cookie attribute support has been documented[1], and an errata section has been added to the RFC[2]. [1] [2] -- Christoph M. Becker