Ilia Alshanetsky
30c26df348
MFH: Fixed bug #25084 (Make refer check not dependant on register_globals)
2003-08-14 01:32:02 +00:00
Ilia Alshanetsky
cadd668aac
MFH: missing skip condition.
2003-08-14 00:54:42 +00:00
Ilia Alshanetsky
977ec5eb4a
MFH: Fixed bug #22245 (References inside $_SESSION not being handled).
2003-08-11 19:21:22 +00:00
Sascha Schumann
07b9f0c1d5
Proper fix for #24592
...
The core issue is that undefined variables are refcounted (refcount != 0)
while is_ref is still set to 0. I don't know whether this is a bug in
the engine, but is it not the first time this irregularity has caused
problems for the session extension.
The irregularity confused ZEND_SET_SYMBOL_WITH_LENGTH which then did
the wrong thing WRT null values.
Fortunately, nulls can simply be ignored in this case, thus the old
code is restored and a new condition is added.
2003-07-22 01:10:30 +00:00
Ilia Alshanetsky
61fc0ba6b2
MFH: Fixed bug #24592 (Possible crash in session extnsion, with NULL values).
2003-07-21 21:49:52 +00:00
SVN Migration
10bb058051
This commit was manufactured by cvs2svn to create branch 'PHP_4_3'.
2003-07-21 21:47:53 +00:00
Sascha Schumann
e783c0b5a1
Fix test
2003-06-13 09:17:52 +00:00
foobar
626f3de608
MFH, fixed the test (second session init produces a notices)
2003-06-13 09:16:49 +00:00
Sascha Schumann
babbbb048b
MFH E_NOTICE
2003-06-10 03:57:16 +00:00
Sascha Schumann
33d844496f
fix prototype
2003-05-29 17:39:00 +00:00
Sascha Schumann
39267c2bf9
Always send a new session cookie upon regenerating id
2003-05-29 16:19:56 +00:00
Sascha Schumann
f851db2531
readd essential line for multiple sessions inside one request
2003-05-21 02:33:13 +00:00
Sascha Schumann
8b4ff89345
Make error messages less ambiguous
2003-05-20 21:01:42 +00:00
Sascha Schumann
67631ea57c
Defensive programming
2003-05-20 20:01:54 +00:00
Sascha Schumann
bddbce404f
Better reinitialize session_status unconditionally
2003-05-20 14:20:14 +00:00
Sascha Schumann
0f4b4c82de
Fix use of ZEND_EXTERN_MODULE_GLOBALS which mysteriously includes a
...
trailing semicolon.
Also add a do {} while (0) construct in php_session.h
2003-05-20 12:38:04 +00:00
Sascha Schumann
99515d905c
MFH
2003-05-15 13:33:52 +00:00
Sascha Schumann
f695e50683
MFH
2003-05-10 16:49:53 +00:00
Stanislav Malyshev
bb56953b8d
fix TSRM
2003-04-27 16:18:01 +00:00
Stanislav Malyshev
5762d24683
Fix very nasty bug - session cookie kills one of the cookies
...
set before it on certain non-Apache SAPIs.
# for example, this code:
# <?
# setcookie("abc", 1);
# setcookie("def", 2);
# session_start();
# ?>
# would output only 'def' cookie on CGI and ISAPI
2003-04-27 16:02:44 +00:00
Sascha Schumann
4bfdbfb167
MFH
2003-04-05 11:22:44 +00:00
Sascha Schumann
f63d9b778f
merge minor differences from head
2003-02-20 08:32:41 +00:00
Sascha Schumann
8d9da24365
MFH general urlencoding
...
MFH session_regenerate_id, a change which is as important as the former one
2003-02-20 06:24:08 +00:00
Sascha Schumann
eb09c03ae1
MFH prefix ps_module changes
2003-02-11 01:16:03 +00:00
foobar
55f12ed0bb
MFH: handle ERANGE from strtol properly
2003-01-15 15:53:34 +00:00
Sebastian Bergmann
ec46829b38
MFH: Bump year.
2002-12-31 16:37:36 +00:00
Moriyoshi Koizumi
28624bb7f6
MFH: Ilia's patch for bug #21268 (session_decode() returned FALSE on success)
2002-12-30 13:56:28 +00:00
Marcus Boerger
a2aed8eff2
MFH
2002-12-05 20:42:05 +00:00
Marcus Boerger
e931611837
MFH
2002-12-05 20:14:09 +00:00
Ilia Alshanetsky
33b0617d99
Set serialize_handler to php to prevent test failures.
2002-11-25 23:19:19 +00:00
Derick Rethans
20c0cd2a88
- MFH: Add an error message to the ini handlers
2002-11-20 17:49:57 +00:00
John Coggeshall
6ac365896c
Modified the experimental new test class to make it easier to port to the
...
web. Pushed all echo statements through a function that can be
overwritten, changed the way pass/skip/fail is handled (separate function)
that of course can also be overwritten. To begin testing of a web-based
test script also created a webHarness class which will output HTML. To
use, just $a = new webHarness(); instead of $a = new testHarness(); A few
modifications still must be made to remove the CLI reliance completely.
Also modified a test script description.
2002-11-01 00:22:02 +00:00
Marcus Boerger
62667ee6a6
-Only accept one single message which is expected.
...
-Move error related settings to --INI-- section
#Now see we can do it correct
2002-10-29 14:03:37 +00:00
Marcus Boerger
b9eda54711
This test requires special settings
...
#wait/read next commit on run-test.php
2002-10-27 23:56:08 +00:00
Ilia Alshanetsky
c88e0fd5de
Fixed a bug in the test that would cause it to always fail.
2002-10-25 17:52:32 +00:00
Marcus Boerger
86465058a4
one version for php<4.2.3 and one for php>=4.2.3
2002-10-24 18:18:44 +00:00
Sascha Schumann
e60c601bd1
improved warning message
...
# this should really link to an external page which explains the issue deeply
2002-10-24 10:40:48 +00:00
Derick Rethans
bfc3250187
- Hardcode dependent ini setting
2002-10-13 11:14:49 +00:00
Derick Rethans
db89afc45b
- Hardcode setting which affects the test
2002-10-12 17:12:43 +00:00
Derick Rethans
4a54968c71
- hardcode default rewriting tags
2002-10-08 18:30:38 +00:00
Sascha Schumann
8ca10fb5e8
Call ob_flush to force the buffer contents to go through the rewriter.
2002-10-07 10:07:27 +00:00
Sascha Schumann
2dde6fb594
Print out warning only, if a variable was actually migrated
2002-10-07 02:37:50 +00:00
Sebastian Bergmann
d7f9e8526f
Silence warning.
2002-10-06 21:47:54 +00:00
Ilia Alshanetsky
6b5575a101
Code cleanup. Thanks Andi.
2002-10-06 17:17:38 +00:00
Sascha Schumann
fb84b3e1d0
remove trans_sid=1
2002-10-03 23:13:36 +00:00
Sascha Schumann
5db24fbb7b
20: rewriter uses arg_seperator.output for modifying URLs
...
21: rewriter handles <form> and <fieldset> correctly
2002-10-03 23:12:16 +00:00
Sascha Schumann
47cc29c9d1
19: serializing references test case using globals
...
18: rewriter correctly handles attribute names which contain dashes
2002-10-03 22:54:15 +00:00
Sascha Schumann
eab0f5965f
code from ancient bug #5271
...
setting $_SESSION before session_start() should not cause segfault
2002-10-03 16:55:08 +00:00
Sascha Schumann
3998374a0d
invalid session.save_path should not cause a segfault
2002-10-03 16:49:52 +00:00
Sascha Schumann
61e47a342e
use_trans_sid should not affect SID
2002-10-03 16:43:44 +00:00