|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66565 Passwords starting/ending with backslash aren't parsed properly
Submitted: 2014-01-24 01:20 UTC Modified: 2017-10-24 19:03 UTC
Avg. Score:2.5 ± 0.9
Reproduced:4 of 4 (100.0%)
Same Version:4 (100.0%)
Same OS:4 (100.0%)
From: Assigned: adambaratz (profile)
Status: Closed Package: PDO Core
PHP Version: * OS: *
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
New email:
PHP Version: OS:


 [2014-01-24 01:20 UTC]
This bug is created based on #62479.  The middle portion of the password works fine at the pdo_pgsql layer, but not so with beginning/ending backslashes at the PDO layer.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-01-24 01:21 UTC]
-Status: Open +Status: Assigned -Assigned To: +Assigned To: willfitch
 [2017-10-24 03:27 UTC]
-Status: Assigned +Status: Open -Operating System: Any +Operating System: * -PHP Version: 5.4.24 +PHP Version: * -Assigned To: willfitch +Assigned To:
 [2017-10-24 18:41 UTC]
-Status: Open +Status: Closed -Package: PDO related +Package: PDO Core -Assigned To: +Assigned To: adambaratz
 [2017-10-24 18:41 UTC]
I didn't see anything in the code that would cause issues here. I was also able to run the test suite using a test user that had a password starting with a backslash.
 [2017-10-24 19:03 UTC]
This was fixed and committed ya few years ago.Guess I forgot to close it.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Jul 25 12:01:30 2024 UTC