Re: parseDSN ... again

From: Date: Sun, 11 Mar 2001 17:57:48 +0000
Subject: Re: parseDSN ... again
References: 1 2 3 4  Groups: php.pear php.pear.dev 
Request: Send a blank email to php-pear+get-1789@lists.php.net to get a copy of this message
Stig Sæther Bakken wrote: > > > The new version doesn't have a default for "dbsyntax", which is fine > (the backends set it themselves). It breaks the url encoding though. Ok, corrected. > Thomax Cox wrote: > > > - Removed urldecode(), for not disturbing '+' chars. Users must manual > > decode what they need. > > Thomas, when is the url encoding a problem? It was added to allow > people to specify dsn delimiter characters in usernames and passwords. Ok, added urldecode in user, pass and hostspec, as your original version does. Here is the diff -u, against the todays cvs version of DB.php and also the DB.php with the applied patch. All the tests are working for me. Thanks for the feedback, Tomas V.V.Cox

« previous php.pear (#1789) next »