Bug #62479 [Com]: PDO-psql cannot connect if password contains spaces
| From: | willfitch@php.net | Date: | Wed, 31 Oct 2012 18:47:05 +0000 |
| Subject: | Bug #62479 [Com]: PDO-psql cannot connect if password contains spaces | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-174446@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62479&edit=1
ID: 62479
Comment by: willfitch@php.net
Reported by: brice at bmaron dot net
Summary: PDO-psql cannot connect if password contains spaces
Status: Verified
Type: Bug
Package: PDO related
Operating System: Linux- Debian Stable
PHP Version: 5.3.14
Assigned To: willfitch
Block user comment: N
Private report: N
New Comment:
Thanks Iliaa -
I will update the pull request to take into account escaping backslashes as well.
Previous Comments:
------------------------------------------------------------------------
[2012-10-31 01:53:20] iliaa@php.net
I think the attached patch maybe slightly better than the one proposed, the
attached patch also accounts for passwords that may contain \ character inside
them.
------------------------------------------------------------------------
[2012-10-31 01:51:40] iliaa@php.net
The following patch has been added/updated:
Patch Name: PDOPostgreSQLPassword
Revision: 1351648300
URL: https://bugs.php.net/patch-display.php?bug=62479&patch=PDOPostgreSQLPassword&revision=1351648300
------------------------------------------------------------------------
[2012-09-20 20:12:00] willfitch@php.net
Pull request for this bug has been submitted at: https://github.com/php/php-
src/pull/199.
------------------------------------------------------------------------
[2012-09-17 19:39:08] willfitch@php.net
I have confirmed your findings. Let me do a little sniffing around and see what I
can come up with.
------------------------------------------------------------------------
[2012-07-04 12:29:56] brice at bmaron dot net
It seems to be a pdo-psql only ... not affecting other drivers like mysql
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=62479
--
Edit this bug report at https://bugs.php.net/bug.php?id=62479&edit=1