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

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

Count Diff
2 (25%)
001+ Set-Cookie: foo\bar=12345; path=/; HttpOnly 001- Set-Cookie: foo\bar=12345; path=/
1 (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
1 (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 (13%)
001+ Set-Cookie: foo\bar=12345; path=/; secure; HttpOnly 001- Set-Cookie: foo\bar=12345; path=/
1 (13%)
001+ Set-Cookie: foo\bar=12345; path=/; domain=.lexvisio.com 001- Set-Cookie: foo\bar=12345; path=/
1 (13%)
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-
1 (13%)
001+ 001- Set-Cookie: foo\bar=12345; path=/ 003+ Mon Apr 25 18:25:49 2022 (29399): Fatal Error Unable to allocate shared memory segment of 134217728 bytes: unknown: No such file or directory (2) 003-