PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Database » DB » Bug #5270

PEAR::DB: escaping in DSNs

Details

Request #5270PEAR::DB: escaping in DSNs
Submitted2005-09-01 16:03 UTC
Fromjohn at curioussymbols dot com
Assigneddanielc
StatusWont fix
PackageDB
PHP Version4.3.11
OSFC3
Roadmaps(Not assigned)

Comments

[2005-09-01 16:03 UTC] 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