Commit Graph

657 Commits

Author SHA1 Message Date
Dmitry Stogov
128548a5c0 Disabled autoconversion of hash keys (from string to unicode) for PHP arrays 2006-09-19 10:38:31 +00:00
Antony Dovgal
103d999dd1 fix typo 2006-08-30 17:57:25 +00:00
Antony Dovgal
1fcfbd873d change ini handlers to produce E_ERROR if they are called during startup or per request 2006-08-30 16:24:31 +00:00
Antony Dovgal
5b79892659 change E_ERROR to E_WARNING when invalid argument has been passed
make sure ini_set() doesn't reset PS(mod) and PS(serializer) to invalid values
2006-08-30 15:42:40 +00:00
Antony Dovgal
d3bb8d11f9 fix test 2006-08-11 10:36:07 +00:00
Ilia Alshanetsky
9a07b46e00 MFB: fix proto 2006-08-10 21:11:00 +00:00
Ilia Alshanetsky
b97c393f87 MFB: Added support for httpOnly flag for session extension and cookie
setting functions.
2006-08-10 13:56:54 +00:00
Ilia Alshanetsky
936ebdbe1f MFB: Fixed bug #38377 (session_destroy() gives warning after
session_regenerate_id()).
2006-08-08 14:57:33 +00:00
Antony Dovgal
9b63740847 fix #38289 (segfault in session_decode() when _SESSION is NULL) 2006-08-02 09:15:13 +00:00
Antony Dovgal
873b6d87c6 fix #38278 (session_cache_expire()'s value does not match phpinfo's session.cache_expire) 2006-08-01 08:31:37 +00:00
Ilia Alshanetsky
a081be13fc MFB: An improved fix for bug #38224 2006-07-27 15:36:43 +00:00
Ilia Alshanetsky
3e00d90ff0 MFB: make C++ compilers happy 2006-07-27 14:13:53 +00:00
Ilia Alshanetsky
a3656ec923 Removed debug code 2006-07-27 14:05:38 +00:00
Ilia Alshanetsky
acbb531a12 MFB: Fixed bug #38224 (session extension can't handle broken cookies). 2006-07-27 14:00:27 +00:00
Ilia Alshanetsky
896c0e0690 MFB: Fixed compiler warnings. 2006-07-13 00:13:42 +00:00
Michael Wallner
1d6027adbd - add note why replace is 0, so that I don't wonder again in 2 months
why session_regenerate_id() sends the session cookie twice
2006-07-12 15:28:18 +00:00
Dmitry Stogov
943960c324 Added automatic module globals management 2006-06-13 13:12:20 +00:00
Michael Wallner
231ad17475 - explicit usage of TS macros
# this could have been raised a lot earlier
2006-06-03 11:19:44 +00:00
Michael Wallner
4ce0141713 - new output control code
# scan README.NEW-OUTPUT-API to get a grasp
# tree has been tagged with BEFORE_NEW_OUTPUT_API
#
# TODO:
#  - improve existing output handlers
#  - move zlib.output_compression cruft from SAPI.c to zlib.c
#  - output_encoding handling was ambigious, resp. is undefined yet
#  - more tests
2006-06-02 19:51:43 +00:00
Marcus Boerger
a4471f70f0 - Fix bug #37510 session_regenerate_id changes session_id() even on failure 2006-05-18 22:07:31 +00:00
Ilia Alshanetsky
333787ff7f MFB51: Fixed Bug #36872 (session_destroy() fails after call to
session_regenerate_id(true)).
2006-04-17 23:29:46 +00:00
foobar
672266c735 - Cleanup 2006-04-10 15:06:51 +00:00
Dmitry Stogov
c4d2bc4c46 Fixed test 2006-03-27 14:08:10 +00:00
Dmitry Stogov
22055cb8fd Dropped register_long_arrays, added E_CORE for all dropped setting 2006-03-16 09:44:42 +00:00
Pierre Joye
303bfea78f - remove register_globals support (aka "Kill the f***ing thing" :) 2006-03-07 00:20:54 +00:00
Ilia Alshanetsky
1a3bb9f4bd MFB51: Fixed bug #36459 (Incorrect adding PHPSESSID to links, which
contains \r\n).
2006-02-28 14:45:52 +00:00
Dmitry Stogov
36002f16c3 Fixed test file 2006-02-22 12:22:07 +00:00
Dmitry Stogov
0f1209ab3d Portable unicode string API:
- use the same type (int) for zval.value.usr.len and zval.value.str.len
  - use union "zstr" as char*/UChar* mixture instead of void*
  - Z_UNISTR() and Z_UNILEN() no longer check for Z_TYPE()
  - nuke int32_t from ZE (not finisned)
2006-02-21 20:12:43 +00:00
Andi Gutmans
e94e25e621 Start nuking safe_mode. Still a lot of work to do... 2006-02-19 00:55:22 +00:00
Dmitry Stogov
09ca61c125 Made server wide switch for unicode on/off (according to PDM). 2006-02-13 10:23:59 +00:00
Rasmus Lerdorf
a5883cc89c (Missing patch from the PHP 4 tree that got lost in the shuffle)
See: http://cvs.php.net/viewcvs.cgi/php-src/ext/session/session.c?r1=1.336.2.39&r2=1.336.2.40
- fix logic. if the client already sent us the cookie, we don't
  need to send it again.  if the id has been changed, we need to
  update the client side.
2006-02-10 07:41:59 +00:00
Frank M. Kromann
921498e38b MFB51 Export symbols that will allow building WDDX as shared object 2006-01-28 06:18:18 +00:00
Ilia Alshanetsky
0de9cf1e73 MFB51: Added a check for special characters in the session name. 2006-01-15 16:51:34 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
foobar
a208d9a966 - Nuke php3 legacy 2005-12-06 02:28:26 +00:00
foobar
ecd8376f36 - Changed "session.use_only_cookies" to be on by default. 2005-12-02 18:42:41 +00:00
foobar
be3a2c634d - Improved the fix for #21306 a bit 2005-09-23 08:13:57 +00:00
foobar
6f0648dab6 - Fixed bug #21306 (catch bailouts of write handler during RSHUTDOWN) 2005-09-20 20:56:21 +00:00
Stanislav Malyshev
961d12fa2d fix crash on restarting static PHP having session modules loaded 2005-09-20 14:05:16 +00:00
Derick Rethans
0f391bb0b3 - Add E_RECOVERABLE.
#- Thought I did this before already actually...
2005-09-15 16:19:48 +00:00
Dmitry Stogov
6b622046dc zend_is_callable() and zend_make_callable() were changed to return readable function name as zval (instead of string). 2005-08-22 12:22:16 +00:00
foobar
03cec74a0d Nuked EOLs from error messages 2005-08-18 13:34:04 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Dmitry Stogov
319cbe1c5a Fixed test file 2005-07-05 14:10:31 +00:00
foobar
73dd4043b3 Make sure files-save handler is used always 2005-07-04 13:09:14 +00:00
foobar
56c1b316da - Added session.hash_bits_per_character support. (3rd param)
(Changes by: waltzer at autumnweave dot com)
2005-06-20 13:37:32 +00:00
foobar
fd07bc5e6b nuke duplicate code 2005-06-03 22:09:22 +00:00
Antony Dovgal
29319a81b8 fix typo
(see details here: http://news.php.net/php.internals/16350)
2005-06-01 18:27:50 +00:00
foobar
a20383ba06 - Unify the "configure --help" texts 2005-05-29 23:17:16 +00:00
Ilia Alshanetsky
c24900dfa4 Added an optional remove old session parameter to session_regenerate_id(). 2005-05-29 16:51:25 +00:00