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

From: Date: Sun, 19 Jan 2014 01:43:08 +0000
Subject: Bug #62479 [Csd]: PDO-psql cannot connect if password contains spaces
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-183896@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
 Updated by:         willfitch@php.net
 Reported by:        brice at bmaron dot net
 Summary:            PDO-psql cannot connect if password contains spaces
 Status:             Closed
 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:

@ab - agreed.  Not sure where the logic was when that was created, but I avoid using it.


Previous Comments:
------------------------------------------------------------------------
[2014-01-19 01:40:00] ab@php.net

Hi,

i don't quite get why we need the PDOTEST_DSN along with PDO_PGSQL_TEST_DSN. Those would
differentiate themselves only with the password= param. Maybe just cutoff the password param from
PDO_PGSQL_TEST_DSN? Were simpler than having to set PDOTEST_DSN just for this one test. Will need to
be fixed somewhen.

Cheers.

------------------------------------------------------------------------
[2014-01-19 01:35:12] ab@php.net

Automatic comment on behalf of willfitch
Revision: http://git.php.net/?p=php-src.git;a=commit;h=da83b513b21c88f58bf0c2e56c2e46359535e160
Log: Fix #62479: Some chars not parsed in passwords

------------------------------------------------------------------------
[2014-01-19 00:49:20] willfitch@php.net

Automatic comment on behalf of willfitch
Revision: http://git.php.net/?p=php-src.git;a=commit;h=da83b513b21c88f58bf0c2e56c2e46359535e160
Log: Fix #62479: Some chars not parsed in passwords

------------------------------------------------------------------------
[2014-01-19 00:49:18] willfitch@php.net

Automatic comment on behalf of willfitch
Revision: http://git.php.net/?p=php-src.git;a=commit;h=e6bb90c66a5306f3db7ca38206b27685177a65cc
Log: Fix #62479: Some chars not parsed in passwords

------------------------------------------------------------------------
[2014-01-18 22:05:33] willfitch@php.net

I plan on merging this tonight unless I have pushback.  This will go upstream from 5.3+

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


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 (#183896) next »