Req #72230 [NEW]: Add SameSite Cookies to setcookie()

From: Date: Tue, 17 May 2016 11:29:59 +0000
Subject: Req #72230 [NEW]: Add SameSite Cookies to setcookie()
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-201149@lists.php.net to get a copy of this message
From: love at sickpeople dot se Operating system: PHP version: Irrelevant Package: Unknown/Other Function Bug Type: Feature/Change Request Bug description:Add SameSite Cookies to setcookie() Description: ------------ Add a new parameter to setcookie() - Name: samesite - Default value: false - If true, sets the SameSite flag In short, this helps security by protecting against CSRF, XSSI and others (see link below). Update to RFC 6265: https://tools.ietf.org/html/draft-west-first-party-cookies-07 Implemented in Chrome: https://bugs.chromium.org/p/chromium/issues/detail?id=459154 -- Edit bug report at https://bugs.php.net/bug.php?id=72230&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=72230&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=72230&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=72230&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=72230&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=72230&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=72230&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=72230&r=needscript Try newer version: https://bugs.php.net/fix.php?id=72230&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=72230&r=support Expected behavior: https://bugs.php.net/fix.php?id=72230&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=72230&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=72230&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=72230&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=72230&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=72230&r=dst IIS Stability: https://bugs.php.net/fix.php?id=72230&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=72230&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=72230&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=72230&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=72230&r=mysqlcfg

« previous php.bugs (#201149) next »