summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli_server.c
diff options
context:
space:
mode:
authorMartin Jansen <martin@divbyzero.net>2014-05-06 22:00:59 +0200
committerMartin Jansen <martin@divbyzero.net>2014-05-06 22:00:59 +0200
commitc5f9a231d5adc8cf8ab9890f0acc27206495a080 (patch)
treeba58a8f801eed97876e695eaeb948048f76f8ba6 /sapi/cli/php_cli_server.c
parentc0f4e270a8e7c78b780fc3872f05758d16e522ef (diff)
downloadphp-git-c5f9a231d5adc8cf8ab9890f0acc27206495a080.tar.gz
Streamlining of cookie handling in ext/session and setcookie
Up until now the session cookie used "HttpOnly" to indicate cookies only available through HTTP while setcookie() used "httponly". The relevant RFC 6265 claims that case does not matter for this token, but only explicitely mentions "HttpOnly". Thus this seems like a logical choice when streamlining the code. Also the setcookie implementation now uses the same string constants as the session extension for other tokens like Max-Age or the domain attribute. This change poses a slight risk of backwards incompatibility in places where people deliberately ignore chapter 5.2.5 of RFC 6265 and perform case-sensitive checks for the HttpOnly attribute.
Diffstat (limited to 'sapi/cli/php_cli_server.c')
0 files changed, 0 insertions, 0 deletions