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

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
3 (30%)
001+ 001- Set-Cookie: foo\bar=12345; path=/
2 (20%)
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 (10%)
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 (10%)
001+ Set-Cookie: foo\bar=870b5qo1b80g1qckt5ml67e3fo; path=/; HttpOnly 001- Set-Cookie: foo\bar=12345; path=/
1 (10%)
001+ Set-Cookie: foo\bar=6b4d827q2i2fmb21u4clsilpvc; path=/; HttpOnly 001- Set-Cookie: foo\bar=12345; path=/
1 (10%)
001+ Set-Cookie: foo\bar=12345; path=/; HttpOnly 001- Set-Cookie: foo\bar=12345; path=/
1 (10%)
001+ 001- Set-Cookie: foo\bar=12345; path=/ 003+ Warning: session_start(): Cannot find save handler 'memcache' - session startup failed in %s/bug80774.php on line 4 003-