#43633 [Opn->Bgs]: backslashes in session save path are not escaped in error message
| From: | tony2001@php.net | Date: | Tue, 29 Jan 2008 00:10:09 +0000 |
| Subject: | #43633 [Opn->Bgs]: backslashes in session save path are not escaped in error message | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-121668@lists.php.net to get a copy of this message | ||
ID: 43633
Updated by: tony2001@php.net
Reported By: php-qa at sebastianmendel dot de
-Status: Open
+Status: Bogus
Bug Type: Session related
Operating System: Windows
PHP Version: 5.3CVS-2007-12-19 (snap)
New Comment:
Printing "C:\" doesn't require any escaping.
It's you who needs to escape the slashes when you enter them in your
php.ini.
Previous Comments:
------------------------------------------------------------------------
[2007-12-19 07:02:57] php-qa at sebastianmendel dot de
Description:
------------
backslashes in the session.save_path are not properly escaped when
printed out in an error message
Reproduce code:
---------------
php.ini:
session.save_path = "C:\temp"
continue a session without valid session file
Expected result:
----------------
session_start() : open(C:\temp\sess_ifj79uququ2tu2gnhu8ol2cs81, O_RDWR)
failed: Invalid argument (22)
Actual result:
--------------
session_start() : open(C: emp\sess_ifj79uququ2tu2gnhu8ol2cs81, O_RDWR)
failed: Invalid argument (22)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43633&edit=1