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

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 9 different diffs reported by users for this test.

Count Diff
4 (25%)
001+ 001- Set-Cookie: foo\bar=12345; path=/ 003+ Warning: session_start(): Cannot find save handler 'redis' - session startup failed in %s/bug80774.php on line 4 003-
3 (19%)
001+ 001- Set-Cookie: foo\bar=12345; path=/
2 (13%)
001+ Warning: session_start(): open(/tmp/session/sess_12345, O_RDWR) failed: No such file or directory (2) in %s/bug80774.php on line 4 003+ Warning: session_start(): Failed to read session data: files (path: /tmp/session) in %s/bug80774.php on line 4
2 (13%)
001+ Warning: session_start(): open(/tmp/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: ) in %s/bug80774.php on line 4
1 (6%)
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 (6%)
001+ Set-Cookie: foo\bar=e81ff6bblpiipsnbeefdasklgd; path=/; domain=den3509.com; SameSite=Strict 001- Set-Cookie: foo\bar=12345; path=/
1 (6%)
001+ Set-Cookie: foo\bar=12345; path=/; secure; HttpOnly 001- Set-Cookie: foo\bar=12345; path=/
1 (6%)
001+ Set-Cookie: foo\bar=12345; path=/; HttpOnly 001- Set-Cookie: foo\bar=12345; path=/
1 (6%)
001+ 001- Set-Cookie: foo\bar=12345; path=/ 003+ Sat Jul 23 21:28:38 2022 (56432): Fatal Error Unable to allocate shared memory segment of 134217728 bytes: unknown: Inappropriate ioctl for device (25) 003-