Req #5270 [Opn->Asn]: PEAR::DB: escaping in DSNs

From: Date: Fri, 21 Oct 2005 20:55:46 +0000
Subject: Req #5270 [Opn->Asn]: PEAR::DB: escaping in DSNs
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-7020@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=5270&edit=1 ID: 5270 Updated by: mj@php.net Reported By: john at curioussymbols dot com -Status: Open +Status: Assigned Id: 5270 Type: Feature/Change Request Package: Documentation Operating System: FC3 PHP Version: 4.3.11 -Assigned To: +Assigned To: danielc New Comment: assigning this to Daniel, because he is the DB-documentation-ninja. Previous Comments: ------------------------------------------------------------------------ [2005-09-01 12:03:12] john at curioussymbols dot com Description: ------------ In http://pear.php.net/manual/en/package.database.db.intro-dsn.php it would be helpful if a method for " If your database, option values, username or password contain characters used to delineate DSN parts, you can escape them via URI hex encodings" were explicitly cited. Am I to assume that if I urlencode() these parts of my DSN then everything will be OK? Cheers JP ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=5270&edit=1

« previous php.pear.doc (#7020) next »