#19481 [Opn->Fbk]: DB doesn't allow for '@' within password (p@ssword)
| From: | mj@php.net | Date: | Wed, 02 Oct 2002 09:37:04 +0000 |
| Subject: | #19481 [Opn->Fbk]: DB doesn't allow for '@' within password (p@ssword) | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-9798@lists.php.net to get a copy of this message | ||
ID: 19481
Updated by: mj@php.net
Reported By: rob@euglug.org
-Status: Open
+Status: Feedback
Bug Type: PEAR related
Operating System: Linux
PHP Version: 4.2.3
New Comment:
Please provide us your patch and we'll see.
Previous Comments:
------------------------------------------------------------------------
[2002-09-18 15:04:58] rob@euglug.org
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 this bug report at http://bugs.php.net/?id=19481&edit=1