#19481 [NEW]: DB doesn't allow for '@' within password (p@ssword)
| From: | rob at euglug dot org | Date: | Wed, 18 Sep 2002 20:04:58 +0000 |
| Subject: | #19481 [NEW]: DB doesn't allow for '@' within password (p@ssword) | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-9177@lists.php.net to get a copy of this message | ||
From: rob@euglug.org
Operating system: Linux
PHP version: 4.2.3
PHP Bug Type: PEAR related
Bug description: DB doesn't allow for '@' within password (p@ssword)
If you have an '@' in your password, DB.php parses that as the token that
separates the user:pass@host of the DSN. It should preferrably allow
passwords with '@'.
I can send a patch, but what is the preferred way of handling something
like this? Asking the user to put the pass in quotes? Or somehow
determining what is the separator token and what is the password?
--
Edit bug report at http://bugs.php.net/?id=19481&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19481&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19481&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19481&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19481&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19481&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19481&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19481&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19481&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19481&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19481&r=globals