[php-src] PHP-8.4: ext/session: allow session.save_path to be nonempty in this test
| From: | Michael Orlitzky via Jorg Sowa | Date: | Mon, 07 Sep 2026 21:09:33 +0000 |
| Subject: | [php-src] PHP-8.4: ext/session: allow session.save_path to be nonempty in this test | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-141116@lists.php.net to get a copy of this message | ||
Author: Michael Orlitzky (orlitzky)
Committer: Jorg Sowa (jorgsowa)
Date: 2026-09-07T23:06:39+02:00
Commit: https://github.com/php/php-src/commit/e8c1e3a8b3dbf93befac5f8dd4f8e976ff65000e
Raw diff: https://github.com/php/php-src/commit/e8c1e3a8b3dbf93befac5f8dd4f8e976ff65000e.diff
ext/session: allow session.save_path to be nonempty in this test
commit 33b13ae5deae701d858f0d588c06e2a224efdc9e
Author: Michael Orlitzky <michael@orlitzky.com>
Date: Tue Sep 1 17:58:13 2026 -0400
ext/session/.../gh23043.phpt: session.save_path can be nonempty
Allow session.save_path to be nonempty in this test, as the test
itself does not empty it, and in automated setups it is common to
force all "temporary stuff" to a dedicated location.
Closes GH-23537
Changed paths:
M ext/session/tests/user_session_module/gh23043.phpt
Diff:
diff --git a/ext/session/tests/user_session_module/gh23043.phpt
b/ext/session/tests/user_session_module/gh23043.phpt
index e3528884a79a..caf98ac93857 100644
--- a/ext/session/tests/user_session_module/gh23043.phpt
+++ b/ext/session/tests/user_session_module/gh23043.phpt
@@ -27,9 +27,9 @@ string(0) ""
Warning: SessionHandler::write(): Session ID is too long or contains illegal characters. Only the
A-Z, a-z, 0-9, "-", and "," characters are allowed in %s on line %d
-Warning: session_write_close(): Failed to write session data using user defined save handler.
(session.save_path: , handler: a::write) in %s on line %d
+Warning: session_write_close(): Failed to write session data using user defined save handler.
(session.save_path: %S, handler: a::write) in %s on line %d
string(0) ""
Warning: SessionHandler::write(): Session ID is too long or contains illegal characters. Only the
A-Z, a-z, 0-9, "-", and "," characters are allowed in Unknown on line 0
-Warning: session_write_close(): Failed to write session data using user defined save handler.
(session.save_path: , handler: a::write) in Unknown on line 0
+Warning: session_write_close(): Failed to write session data using user defined save handler.
(session.save_path: %S, handler: a::write) in Unknown on line 0