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

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

Count Diff
2 (29%)
001+ 001- Set-Cookie: foo\bar=12345; path=/
1 (14%)
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+ 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 (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=/
1 (14%)
001+ Set-Cookie: foo\bar=12345; expires=Sat, 31-Jul-2021 11:56:59 GMT; Max-Age=14400; path=/ 001- Set-Cookie: foo\bar=12345; path=/