php.net |  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
Votes:4
Avg. Score:2.5 ± 0.9
Reproduced:4 of 4 (100.0%)
Same Version:4 (100.0%)
Same OS:4 (100.0%)
From: willfitch@php.net Assigned: adambaratz (profile)
Status: Closed Package: PDO Core
PHP Version: * OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: willfitch@php.net
New email:
PHP Version: OS:

 

 [2014-01-24 01:20 UTC] willfitch@php.net
Description:
------------
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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-01-24 01:21 UTC] willfitch@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: willfitch
 [2017-10-24 03:27 UTC] kalle@php.net
-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] adambaratz@php.net
-Status: Open +Status: Closed -Package: PDO related +Package: PDO Core -Assigned To: +Assigned To: adambaratz
 [2017-10-24 18:41 UTC] adambaratz@php.net
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] willfitch@php.net
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 Mar 28 19:01:29 2024 UTC