Re: Security and Config DB container
| From: | Bertrand Mansion | Date: | Tue, 23 Jul 2002 13:24:40 +0000 |
| Subject: | Re: Security and Config DB container | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-7914@lists.php.net to get a copy of this message | ||
<bmansion@mamasam.com> wrote :
> In the DB container of the Config package, there is this line:
>
> return new PEAR_Error( "The given dsn ($dsn) was not valid in file".
> __FILE__." at line ".__LINE__, 41, PEAR_ERROR_RETURN, null, null );
>
> I am not sure it's very useful neither secure to have $dsn passed into the
> pear error message. And also, should we use raiseError here too ?
There seems to be some other problems with this container.
I will have a look at it more closely and commit some changes if you agree.
But, please, tell me about the raiseError thing (Tomas ?)
Bertrand Mansion
Mamasam