Bug #62479 [Com]: PDO-psql cannot connect if password contains spaces

From: Date: Wed, 08 Jan 2014 15:22:43 +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-183648@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 PgSQL
 Operating System:   Linux- Debian Stable
 PHP Version:        5.3.14
 Assigned To:        willfitch
 Block user comment: N
 Private report:     N

 New Comment:

It doesn't look like any patch was applied and there are conflicts with both Iliaa's and
my previous patches.  I'm going to merge the patches/conflicts and make a new PR on Github.


Previous Comments:
------------------------------------------------------------------------
[2013-11-08 15:09:28] willfitch@php.net

@stas - last I heard we're taking Iliaa's patch that's attached here.

------------------------------------------------------------------------
[2013-07-22 04:37:36] stas@php.net

Will, any news on the updated patch?

------------------------------------------------------------------------
[2012-10-31 18:47:05] willfitch@php.net

Thanks Iliaa -

I will update the pull request to take into account escaping backslashes as well.

------------------------------------------------------------------------
[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

------------------------------------------------------------------------


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


Thread (16 messages)

« previous php.bugs (#183648) next »