Test: /ext/session/tests/bug80774.phpt - Version 7.4.18        

Bug #80774 session_name() problem with backslash
Submitted: 2021-02-19 09:04:47 Modified: 2021-02-19 11:13:18
From: chirpinternet Assigned: cmb
Status: Closed Package: Session related
PHP Version: 7.3.27 OS: Debian

There are 4 different diffs reported by users for this test.

Count Diff
3 (43%)
001+ 001- Set-Cookie: foo\bar=12345; path=/
2 (29%)
001+ Warning: session_start(): open(/usr/local/apache2/php-session/sess_12345, O_RDWR) failed: Permission denied (13) in %s/bug80774.php on line 4 003+ Warning: session_start(): Failed to read session data: files (path: /usr/local/apache2/php-session) in %s/bug80774.php on line 4
1 (14%)
001+ Set-Cookie: foo\bar=12345; path=/; secure; HttpOnly 001- Set-Cookie: foo\bar=12345; path=/
1 (14%)
001+ Set-Cookie: foo\bar=12345; path=/; HttpOnly 001- Set-Cookie: foo\bar=12345; path=/