Bob Weinand
4df77a6c58
Fixed bug #70295 (Segmentation fault with setrawcookie)
2015-08-19 01:33:19 +02:00
Xinchen Hui
70d7ecfec6
Use zend_string in setcookie (save value reallocated)
2015-07-02 12:04:28 +08:00
Dmitry Stogov
4a2e40bb86
Use ZSTR_ API to access zend_string elements (this is just renaming without semantick changes).
2015-06-30 04:05:24 +03:00
Christoph M. Becker
613f747579
prohibit empty cookie names for setcookie()
2015-05-12 10:47:35 +02:00
Anatol Belski
9ef0c39b2b
Removed erroneous condition
...
This condition is always false. Furthermore headers_list() is
documented to always return an array.
2015-02-06 09:41:02 +01:00
Stanislav Malyshev
93f0b8142b
fix BC break in headers_list
2015-02-05 20:24:16 -08:00
Anatol Belski
b5d3c5ca8d
follow up fix for headers sent, checking a reference would be always true as well
2015-02-04 18:13:27 +01:00
Anatol Belski
55cefb2814
fix condition
...
the headers member is allocated together with the SAPI globals struct
2015-02-03 17:52:19 +01:00
Xinchen Hui
fc33f52d8c
bump year
2015-01-15 23:27:30 +08:00
Xinchen Hui
73c1be2653
Bump year
2015-01-15 23:26:03 +08:00
Anatol Belski
bdeb220f48
first shot remove TSRMLS_* things
2014-12-13 23:06:14 +01:00
Remi Collet
9aabfeb6c4
fix string is optional, set default length, thanks laruence
2014-12-02 07:41:35 +01:00
Remi Collet
67fc5d6bbb
Fix type of string length in zpp call
...
Fix 23 failed tests (detected on bigendian)
2014-12-02 07:06:10 +01:00
Anatol Belski
c448023bd0
fix datatype mismatches
2014-10-23 10:30:03 +02:00
Johannes Schlüter
d0cb715373
s/PHP 5/PHP 7/
2014-09-19 18:33:14 +02:00
Anatol Belski
60373b2ac2
fix signature
2014-08-27 22:17:16 +02:00
Anatol Belski
bf96ee95ce
's' works with size_t round 4
2014-08-27 20:49:37 +02:00
Anatol Belski
3234480827
first show to make 's' work with size_t
2014-08-27 20:49:31 +02:00
Anatol Belski
202e8db1dc
fixed several long vs zend_long casts
2014-08-26 11:26:53 +02:00
Anatol Belski
c3e3c98ec6
master renames phase 1
2014-08-25 19:24:55 +02:00
Anatol Belski
745a71be33
yet more fixes to zpp
2014-08-20 14:46:14 +02:00
Anatol Belski
cb25136f4e
fix macros in the 5 basic extensions
2014-08-16 11:37:14 +02:00
Dmitry Stogov
b108267f2c
Merge branch 'master' into phpng
...
* master: (41 commits)
Update copyright year to 2014
Update copyright year to 2014
Update copyright year to 2014
Update copyright year to 2014
Update copyright year to 2014
Update copyright year to 2014
Update copyright year to 2014
NEWS
Fix Request #67453 Allow to unserialize empty data.
Update copyright year to 2014
Update copyright year for re2c generated files
Update copyright year to 2014
Update copyright year for re2c files as well
Fix patch for bug #67436
fix failed test
Fix test on modern distro where old unsecure algo are disabled in openssl config. Testing recent algo should be enough to check this function.
Added tests for bug 67436
Fixed wrong XFAIL test - already fixed
Fix typo in Bug #67406 NEWS entry
Fix typo in Bug #67406 NEWS entry
...
Conflicts:
Zend/zend_compile.c
ext/session/session.c
ext/standard/array.c
ext/standard/http_fopen_wrapper.c
tests/classes/bug63462.phpt
2014-06-18 17:50:27 +04:00
Dmitry Stogov
c1965f58d4
Use reference counting instead of zval duplication
2014-06-05 16:04:11 +04:00
Martin Jansen
068bf645e1
Remove usage of pointless COOKIE_SET_COOKIE constant.
2014-05-18 10:45:31 +02:00
Martin Jansen
c5f9a231d5
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.
2014-05-06 22:00:59 +02:00
Dmitry Stogov
050d7e38ad
Cleanup (1-st round)
2014-04-15 15:40:40 +04:00
Xinchen Hui
eb7a9c7c47
Fixed wrong data type (all tests passed in ext/network now)
2014-03-03 18:27:45 +08:00
Xinchen Hui
ebfa9e0415
Fixed NULL pointer def
2014-03-03 18:12:13 +08:00
Xinchen Hui
b07d5913dd
Refactor php_url_(en|de)code to return zend_string
2014-03-03 16:34:43 +08:00
Dmitry Stogov
40e053e7f3
Use better data structures (incomplete)
2014-02-13 17:54:23 +04:00
Xinchen Hui
c081ce628f
Bump year
2014-01-03 11:08:10 +08:00
Xinchen Hui
47c9027772
Bump year
2014-01-03 11:06:16 +08:00
Xinchen Hui
f4daaf9250
Merge branch 'PHP-5.4' into PHP-5.5
2013-03-28 19:13:58 +08:00
Veres Lajos
124a867b6a
Typo fix (greater then => greater than)
2013-03-28 19:12:08 +08:00
Lars Strojny
ec2fff80e7
Bug #23955 : allow specifiy max age for setcookie()
2013-01-06 03:22:44 +01:00
Xinchen Hui
a666285bc2
Happy New Year
2013-01-01 16:37:09 +08:00
Xinchen Hui
0a7395e009
Happy New Year
2013-01-01 16:28:54 +08:00
Felipe Pena
8775a37559
- Year++
2012-01-01 13:15:04 +00:00
Felipe Pena
4e19825281
- Year++
2012-01-01 13:15:04 +00:00
Dmitry Stogov
4a25a7740d
Fixed ZE specific compile warnings (Bug #55629 )
2011-09-13 13:29:35 +00:00
Dmitry Stogov
e43ff1359e
Fixed ZE specific compile warnings (Bug #55629 )
2011-09-13 13:29:35 +00:00
Ilia Alshanetsky
4122a1dd9a
Make static analyzers happy
2011-08-08 12:10:27 +00:00
Ilia Alshanetsky
9c834bd51c
Make static analyzers happy
2011-08-08 12:10:27 +00:00
Kalle Sommer Nielsen
513dc26776
Changed http_response_code() to be able to set a response code
2011-07-12 03:56:32 +00:00
Kalle Sommer Nielsen
9f782a73e8
Changed http_response_code() to be able to set a response code
2011-07-12 03:56:32 +00:00
Scott MacVicar
b966897a0d
Turns out that more than 1% of users clocks are more than a year out of date, this causes cookies to never get deleted since the date is in the future.
...
I can only guess its due to batteries on the motherboard being dead.
2011-05-10 19:09:24 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Kalle Sommer Nielsen
1fed0e5a84
Kill some more constness warnings in com_dotnet/phar/standard
2010-11-19 16:03:00 +00:00
Ilia Alshanetsky
57ff563262
Make http_response_code() return FALSE where data is not available (Ex. cli sapi)
2010-08-10 00:19:51 +00:00