Commit graph

223 commits

Author SHA1 Message Date
Anatol Belski
1968fac697 Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
  Fixed mysql tests parsing phpinfo()
  Update NEWS
  Fixed bug #35703: when session_name("123") consist only digits, should warning
  Fixed bug #49175: mod_files.sh does not support hash bits
2013-07-02 08:24:37 +02:00
Yasuo Ohgaki
87dda666c7 Fixed bug #35703: when session_name("123") consist only digits, should warning 2013-06-29 11:35:55 +09:00
Arpad Ray
1e836cdd64 BC fix for PR 109 merge - create_sid() method in SessionHandler
Creates a new SessionIdInterface and moves create_sid() into it, so existing
handlers implementing SessionHandlerInterface don't require create_sid().
SessionHandler still includes the method so the default mod can be called, but
now implements both interfaces.

Also added several more tests for this feature.
2013-06-27 12:33:56 +01:00
Arpad Ray
b66c14b0c8 Merge PR 109 - Add create_sid to session_set_save_handler and SessionHandler
Allows user session handlers to create session IDs by adding an optional
7th argument to session_set_save_handler() and a create_sid() method
to SessionHandler.
2013-06-27 12:29:44 +01:00
Xinchen Hui
2f7f57a407 Merge branch 'PHP-5.3' into PHP-5.4 2012-12-17 12:57:37 +08:00
Xinchen Hui
d2cc097049 Fix failed test 2012-12-17 12:56:55 +08:00
Rasmus Lerdorf
538d8338c0 Merge branch 'PHP-5.3' into PHP-5.4 2012-12-13 16:15:06 -08:00
Rasmus Lerdorf
eecdb4c254 Fix broken test
This was missing a %s for the path here
2012-12-13 16:13:37 -08:00
Arpad Ray
6566ea6173 Fix #63379 - Don't reset mod_user_is_open in destroy
The parent handler is still open so the reset here was in error.
2012-12-13 23:51:43 +00:00
Xinchen Hui
1b9e0de2cc Remove executable permission on inc 2012-10-10 10:44:34 +08:00
Xinchen Hui
610c7fbe7b Remove executable permission on phpt 2012-10-10 10:27:49 +08:00
Xinchen Hui
69a4301f6c Merge branch 'PHP-5.3' into PHP-5.4 2012-10-10 10:45:07 +08:00
Xinchen Hui
e081c55fb5 Merge branch 'PHP-5.3' into PHP-5.4 2012-10-10 10:31:31 +08:00
Xinchen Hui
1a527397cc better fix & this test pass now 2012-08-15 01:25:31 +08:00
Leigh
6809c388b5 Tests, fixes and optimisations
* Amended existing tests to cater for new functionality.
* Implemented fixes and optimisations recommended by NikiC
* Added create_sid to the registered interface. This was breaking
tests. It also now breaks BC for people implementing the interface
directly instead of extending the class.
2012-06-26 14:57:10 +01:00
Anatoliy Belsky
36836f147c Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
  Fix bug 61870 ext\session\tests\bug42596.phpt fails
2012-04-30 12:10:43 +02:00
Anatoliy Belsky
680685127f Fix bug 61870 ext\session\tests\bug42596.phpt fails 2012-04-30 12:06:28 +02:00
Anatoliy Belsky
3dbe48762f Fix bug 61786 Failing tests in ext\session\tests\* 2012-04-26 15:39:45 +02:00
Xinchen Hui
ed09d26f94 change the bug summary 2012-04-16 19:23:12 +08:00
Xinchen Hui
3b42f184cd Fixed bug #61728 (php-fpm SIGSEGV running friendica on nginx) 2012-04-15 01:16:34 +08:00
Felipe Pena
2cb820275d - Fixed bug #60860 (session.save_handler=user without defined function core dumps) 2012-01-28 21:02:09 +00:00
Felipe Pena
f78c9a9f4e - Fixed bug #60860 (session.save_handler=user without defined function core dumps) 2012-01-28 21:02:09 +00:00
Arpad Ray
e6ca31057e add more tests for #60634 (stems from #21306) and xfail them all for the moment 2012-01-04 11:44:05 +00:00
Arpad Ray
23ba6bb7fe add more tests for #60634 (stems from #21306) and xfail them all for the moment 2012-01-04 11:44:05 +00:00
Arpad Ray
7486849b56 add SessionHandlerInterface for session_set_save_handler() - #60551 2012-01-04 01:16:45 +00:00
Arpad Ray
062b67ed06 add test for #60634 2012-01-03 21:47:16 +00:00
Arpad Ray
5f948f63ed add test for #60634 2012-01-03 21:47:16 +00:00
Arpad Ray
11d6fcdba0 fix calling user close func when it isn't open 2011-11-02 16:53:22 +00:00
Stanislav Malyshev
63b934b9c7 revert change, doesn't work 2011-10-16 02:43:50 +00:00
Stanislav Malyshev
1551cc62db fix openbasedir in test 2011-10-15 23:52:40 +00:00
Ferenc Kovacs
9c2f27a380 fix #49599, the eol-style is important here, as this is a regression test for #36459 2011-09-26 23:28:24 +00:00
Ferenc Kovacs
b2f1ae9673 fix #49599, the eol-style is important here, as this is a regression test for #36459 2011-09-26 23:28:24 +00:00
Christopher Jones
5ad03cd41a MFH to fix PHP_5_3 diffs shown on http://qa.php.net/reports/?version=5.3.9-dev 2011-09-26 20:31:11 +00:00
Arpad Ray
aaa86e2287 fix default session handler error message 2011-09-14 15:30:30 +00:00
Xinchen Hui
7e5307cc79 Fix tests 2011-09-14 06:48:26 +00:00
Xinchen Hui
5412b2885d Add test for bug #55688 2011-09-14 05:02:50 +00:00
Felipe Pena
b034032ae2 - Fixed memory leak when calling SessionHandler::open() several times 2011-09-14 01:45:57 +00:00
Arpad Ray
739151d388 fix session oo tests for windows 2011-09-14 01:16:19 +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
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
Stanislav Malyshev
1c83f5e04c fix tests 2011-08-01 03:42:02 +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