[php-src] PR #18653: Fix GH-18634: Show warning when saving session if a pipe character is used in one of the $_SESSION keys
| From: | mintopia | Date: | Sun, 25 May 2025 11:43:46 +0000 |
| Subject: | [php-src] PR #18653: Fix GH-18634: Show warning when saving session if a pipe character is used in one of the $_SESSION keys | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-31797@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/18653
Author: mintopia
Added a warning that is raised on session write if one of the session key variables contains the
pipe character - as this will cause the session data to not be saved. Tests are included to cover
this in both request shutdown and explicitly session_write_close().