Arpad Ray
739151d388
fix session oo tests for windows
2011-09-14 01:16:19 +00:00
Arpad Ray
f8a943cc19
fix zts break in r316688
2011-09-13 23:07:08 +00:00
Arpad Ray
47cfae87eb
Implement object-oriented session handlers ( https://wiki.php.net/rfc/session-oo )
2011-09-13 22:28:15 +00:00
Ferenc Kovacs
6f39604ff3
I don't see why would be this a win only test. it works for me on linux, checked the history, find no explanation.
2011-09-13 21:06:06 +00:00
Ferenc Kovacs
6e998b4d0f
I don't see why would be this a win only test. it works for me on linux, checked the history, find no explanation.
2011-09-13 21:06:06 +00:00
Ferenc Kovacs
e82139d2e0
fixing the tests, added the error_log= to the --INI-- so it should also pass for Stas
2011-09-13 19:56:42 +00:00
Dmitry Stogov
4a25a7740d
Fixed ZE specific compile warnings (Bug #55629 )
2011-09-13 13:29:35 +00:00
Stanislav Malyshev
334636fefb
revert bad test change
2011-09-10 05:29:29 +00:00
Ferenc Kovacs
adb25ed261
passing an invalid session.upload_progress.freq always generates an additional startup error
2011-09-04 15:02:08 +00:00
Ferenc Kovacs
492daa5fa7
passing an invalid session.upload_progress.freq always generates an additional startup error
2011-09-04 14:28:52 +00:00
Arpad Ray
c8de01fef8
Expose session status via new function, session_status (Req #52982 )
2011-08-29 21:29:26 +00:00
Hannes Magnusson
e481f05470
fixed bug #55267 - session_regenerate_id fails after header sent even if session.use_cookies = 0
2011-08-29 21:20:41 +00:00
Hannes Magnusson
7746cf83d9
fixed bug #55267 - session_regenerate_id fails after header sent even if session.use_cookies = 0
2011-08-29 21:20:41 +00:00
Felipe Pena
997f323e3a
- Added ZEND_MOD_END macro to use in the end of zend_module_dep[]
2011-08-06 14:47:44 +00:00
Felipe Pena
707a8f70b8
- Added ZEND_MOD_END macro to use in the end of zend_module_dep[]
2011-08-06 14:47:44 +00:00
Stanislav Malyshev
1c83f5e04c
fix tests
2011-08-01 03:42:02 +00:00
Felipe Pena
23e438594d
- Make usage of new PHP_FE_END macro
2011-07-25 11:42:53 +00:00
Felipe Pena
4b30846b50
- Make usage of new PHP_FE_END macro
2011-07-25 11:35:02 +00:00
Pierre Joye
1717764476
- install extra headers
2011-06-16 01:21:01 +00:00
Pierre Joye
b498b5dfe5
- install extra headers
2011-06-16 01:21:01 +00:00
Shein Alexey
ae2e75a657
Fixed test.
2011-06-09 13:09:25 +00:00
Shein Alexey
4cd96965fb
Removed tests checking old/removed functionality (session_register/session_unregister/session_is_registered/register_globals)
2011-06-09 08:54:47 +00:00
Shein Alexey
21fb2a42cc
Changed session.save_path to /tmp to make test run.
2011-06-09 08:24:12 +00:00
Shein Alexey
b99e1ba2d8
Changed session.save_path to /tmp to make test run.
2011-06-09 08:24:12 +00:00
Shein Alexey
3b37e152c3
Skip reason is now printed if session.save_path is not writable.
2011-06-09 08:18:49 +00:00
Shein Alexey
060ceea06e
Skip reason is now printed if session.save_path is not writable.
2011-06-09 08:18:49 +00:00
Shein Alexey
25adf56921
Fixed session test breakage due to serialize precision issue.
2011-06-09 07:44:10 +00:00
Shein Alexey
efb6757e16
Fixed session test breakage due to serialize precision issue.
2011-06-09 07:44:10 +00:00
Rasmus Lerdorf
75ec1fedc7
Add php_ignore_value() macro to suppress unused return value warnings
...
from gcc. There are times when we really don't care about the return
value and this will cleanly tell gcc.
2011-05-16 16:58:02 +00:00
Antony Dovgal
8f8a54ab37
fix tests
2011-05-04 08:44:14 +00:00
Antony Dovgal
bb2ccc96d3
fix tests
2011-05-04 08:44:14 +00:00
Pierre Joye
783285e62a
- local redeclaration
2011-01-23 10:02:06 +00:00
Pierre Joye
88a1f3988c
- local redeclaration
2011-01-23 10:02:06 +00:00
Felipe Pena
927bf09c29
- Year++
2011-01-01 02:19:59 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Pierre Joye
aea6771d19
- add phpize support for windows, need a nmake install for now (nmake devel-pkg version is coming), works exactly the same as on unix, or should :)
2010-12-13 18:43:10 +00:00
Pierre Joye
4ee6b4dfbb
-ws
2010-12-13 18:07:08 +00:00
Pierre Joye
a7ffa09e18
- add PHP_INSTALL_HEADERS to all parts (core&exts) exposing headers, generate the install-headers cmd
2010-12-11 22:18:10 +00:00
Felipe Pena
f11535e2ee
- Fixed config.m4 to complete the fix for bug #53141 (thanks Johannes)
2010-11-02 20:51:02 +00:00
Felipe Pena
7b4cbadfce
- Fixed config.m4 to complete the fix for bug #53141 (thanks Johannes)
2010-11-02 20:51:02 +00:00
Felipe Pena
477b8a6664
- Fixed bug #53141 (autoload misbehaves if called from closing session)
...
patch by: ladislav at marek dot su
2010-11-02 18:34:56 +00:00
Felipe Pena
7ded7577b2
- Fixed bug #53141 (autoload misbehaves if called from closing session)
...
patch by: ladislav at marek dot su
2010-11-02 18:34:56 +00:00
Ilia Alshanetsky
a12d2bf747
Fixed a compiler warning
2010-08-27 19:43:08 +00:00
Ilia Alshanetsky
9cad594085
Fixed a compiler warning
2010-08-27 19:43:08 +00:00
Kalle Sommer Nielsen
a448b6a72b
MFB53: Changed deprecated ini options on startup from E_WARNING to E_DEPRECATED ( Fixes #52570 )
...
# Some of the updated tests were to make them sync with 5.3 although they don't run on trunk anymore
2010-08-11 21:41:30 +00:00
Kalle Sommer Nielsen
8deefa8780
Changed deprecated ini options on startup from E_WARNING to E_DEPRECATED ( Fixes #52570 )
...
# Trunk patch will follow shortly
2010-08-11 21:12:18 +00:00
Dmitry Stogov
f0c8366a9e
- use interned strings for auto globals
...
- $GLOBALS became a JIT autoglobal, so it's initialized only if used (this may affect opcode caches)
2010-07-08 14:05:11 +00:00
Pierre Joye
9e5313fdca
- [DOC] MFH: add session.entropy* support to windows
2010-06-08 22:30:16 +00:00
Pierre Joye
38d334f851
- [DOC] MFH: add session.entropy* support to windows
2010-06-08 22:30:16 +00:00
Pierre Joye
32447e4902
- restore previous setting
2010-06-08 22:27:14 +00:00
Pierre Joye
f8b17007e0
- [DOC] add session.entropy* support to windows
2010-06-08 13:46:19 +00:00
Pierre Joye
bfe51d3895
- [DOC] add session.entropy* support to windows
2010-06-08 13:46:19 +00:00
Pierre Joye
24ef65019f
- silent warning
2010-06-02 19:20:04 +00:00
Pierre Joye
2fd5a6a188
- silent warning
2010-06-02 19:20:04 +00:00
Michael Wallner
11d24c1593
* implement new output API, fixing some bugs and implementing some feature
...
requests--let's see what I can dig out of the bugtracker for NEWS--
and while crossing the road:
* implemented new zlib API
* fixed up ext/tidy (what was "s&" in zend_parse_parameters() supposed to do?)
Thanks to Jani and Felipe for pioneering.
2010-05-31 10:29:43 +00:00
Arnaud Le Blanc
4f3b619625
- code cleanups
...
- cleanup progress data from session vars as soon as all
post data has been readden (upload_progress.cleanup
ini setting allows to disable this)
2010-05-11 16:39:07 +00:00
Arnaud Le Blanc
6f3cea3870
Added session upload progress tests
2010-05-10 16:10:09 +00:00
Arnaud Le Blanc
da9448f3fd
Added upload progress feedback in session data as describied
...
in RFC : http://wiki.php.net/rfc/session_upload_progress
2010-05-10 16:09:00 +00:00
Arnaud Le Blanc
d5a646480d
Fix tests
2010-05-10 15:53:54 +00:00
Kalle Sommer Nielsen
dd8e59da8f
Removed safe_mode
...
* Removed ini options, safe_mode*
* Removed --enable-safe-mode --with-exec-dir configure options on Unix
* Updated extensions, SAPI's and core
* php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
2010-04-26 23:53:30 +00:00
Ilia Alshanetsky
64f372fae2
Fixed handling of session variable serialization on certain prefix characters. Reported by Stefan Esser
2010-04-26 18:35:54 +00:00
Ilia Alshanetsky
3c78ad763e
Fixed handling of session variable serialization on certain prefix characters. Reported by Stefan Esser
2010-04-26 18:35:54 +00:00
Kalle Sommer Nielsen
e73a794105
Removed the session 4.2 bug compatibility mode
2010-04-22 01:07:48 +00:00
Kalle Sommer Nielsen
b8ada243fe
Drop php_register_var(), Thanks Felipe
2010-04-21 23:16:56 +00:00
Kalle Sommer Nielsen
3f29144348
Removed session_is_registered(), session_register() and session_unregister().
...
-- They are no longer needed without register_globals
2010-04-21 23:03:16 +00:00
Kalle Sommer Nielsen
febee11285
Removed register_globals
2010-04-21 01:27:22 +00:00
Kalle Sommer Nielsen
a5304b138f
Removed register_long_arrays ini option (and $HTTP_SESSION_VARS from ext/session)
2010-04-15 16:36:08 +00:00
Rasmus Lerdorf
9692a3619c
Set session.entropy_file to /dev/urandom or /dev/arandom by
...
default if present at compile-time. Addresses part of bug #51436
2010-03-31 18:03:17 +00:00
Ilia Alshanetsky
8a9364080b
Added test for bug #51338
2010-03-23 11:51:38 +00:00
Ilia Alshanetsky
995d15ebcc
Fixed bug #51338 (URL-Rewriter is still enabled if use_only_cookies is on).
2010-03-22 12:16:45 +00:00
Jani Taskinen
af49e58f51
- Reverted r296062 and r296065
2010-03-12 10:28:59 +00:00
Jani Taskinen
06f072cb5e
MFH: Improved / fixed output buffering (Michael Wallner)
2010-03-11 10:24:29 +00:00
Ilia Alshanetsky
dff4e7fda1
Fixed a possible open_basedir/safe_mode bypass in session extension identified by Grzegorz Stachowiak.
2010-01-31 18:06:29 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Rasmus Lerdorf
e9b1ab57a4
Along with the valid char set, also add a length check to the
...
session id here to avoid a lower-level error on the open()
later on in case we exceed MAX_PATH. The lower level open()
error includes the session dir path in it, so this is a very
low-priority security fix. People should not be running
production systems with display_errors turned on.
2009-12-26 23:38:25 +00:00
Dmitry Stogov
5ab649e65f
Fixed compilation
2009-12-04 07:11:37 +00:00
Stanislav Malyshev
3e6ac4fb6b
protect http_session_vars from interrupt corruption
...
improve save_path check
2009-12-04 01:21:32 +00:00
Guenter Knauf
824692fab8
removed now obsolete NetWare hack since I fixed this
...
with Novell some longer time ago in their SDK header.
2009-11-03 21:21:34 +00:00
Dmitry Stogov
7bfe056174
Fixed tests
2009-09-21 09:52:19 +00:00
Antony Dovgal
421b6e0f2c
configure dependency has to be optional as well
2009-07-28 08:59:08 +00:00
Antony Dovgal
75fc702162
fix segfault in session/tests/031.phpt by adding optional extension
...
dependency (php_hash_hashtable has to be initialized when setting
session.hash_function)
2009-07-28 08:54:23 +00:00
Gwynne Raskind
2673b9be38
MFH: fix crash when session hash function generated long hashes with hash_bits_per_character larger than 4
2009-07-17 14:21:59 +00:00
Jani Taskinen
694566d6c4
fix test
2009-05-26 10:12:16 +00:00
Jani Taskinen
9ece649f7c
MFH: ws + sync
2009-05-18 16:10:09 +00:00
Felipe Pena
d64db73483
- Fixed tests
2009-05-05 18:19:16 +00:00
Kalle Sommer Nielsen
5a6d3cc42b
Added E_DEPRECATED startup notice (5.3 only)
2009-05-04 21:18:22 +00:00
Hannes Magnusson
e9c1d924b8
MFH: Add test for bug#42596
2009-04-06 12:12:37 +00:00
Hannes Magnusson
b8bc0f24b3
MFH: Fix segfault on invalid session.save_path
2009-04-06 11:48:49 +00:00
Hannes Magnusson
33aa4ac568
MFH: fix folding
2009-04-06 11:45:25 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Andrei Zmievski
cae97c3b8e
MFH
2008-12-30 19:37:35 +00:00
Scott MacVicar
2ea6780873
MFH Fix bug #35975 - Session cookie expires date format isn't the most compatible. Sync to that of setcookie().
2008-12-11 01:21:35 +00:00
Hannes Magnusson
76a17847c1
Deprecate session_register(), session_unregister() and
...
session_is_registered() (removed in HEAD)
2008-12-09 14:03:58 +00:00
Ant Phillips
ec1ee12281
Fix broken tests (thanks to Johannes for spotting these).
2008-12-02 10:20:56 +00:00
Ant Phillips
45e14cea18
Latest and greatest versions of these session tests - checked on 5.3 snap on Windows, Linux and Linux 64 bit.
2008-11-27 13:50:28 +00:00
Felipe Pena
fc2fb50d09
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-11-17 11:28:01 +00:00
Felipe Pena
7a37fa2d6b
- Revert ZEND_BEGIN_ARG_INFO change
2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-10-24 14:35:40 +00:00
Jani Taskinen
6495909d16
- Revert idiotic patch (hint: Windows IS NOT the most important OS!)
2008-09-07 17:59:24 +00:00
Kalle Sommer Nielsen
1a1df46be2
MFH: Fix test on Windows
2008-09-07 00:42:40 +00:00