#43633 [NEW]: backslashes in session save path are not escaped in error message
| From: | php-qa at sebastianmendel dot de | Date: | Wed, 19 Dec 2007 07:02:57 +0000 |
| Subject: | #43633 [NEW]: backslashes in session save path are not escaped in error message | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-120752@lists.php.net to get a copy of this message | ||
From: php-qa at sebastianmendel dot de
Operating system: Windows
PHP version: 5.3CVS-2007-12-19 (snap)
PHP Bug Type: Session related
Bug description: backslashes in session save path are not escaped in error message
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 bug report at http://bugs.php.net/?id=43633&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43633&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43633&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43633&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43633&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=43633&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=43633&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=43633&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=43633&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=43633&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=43633&r=support
Expected behavior: http://bugs.php.net/fix.php?id=43633&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=43633&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=43633&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=43633&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43633&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=43633&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=43633&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=43633&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=43633&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=43633&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=43633&r=mysqlcfg