Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.15

Bug #9757 pear does not validate -d input (pear -d php_dir=whatever command)
Submitted: 2007-01-06 22:58 UTC
From: jstump Assigned: cellog
Status: Closed Package: PEAR (version 1.5.0RC2)
PHP Version: 5.2.0 OS: OSX
Roadmaps: (Not assigned)    
Subscription  


 [2007-01-06 22:58 UTC] jstump (Joe Stump)
Description: ------------ orwell:/tmp jstump$ sudo pear -d "repos.XXXXXX.com" login Password: Notice: Undefined offset: 1 in pearcmd.php on line 191 Logging in to pear.php.net. 1. Username : root 2. Password : 1-2, 'all', 'abort', or Enter to continue: all Username [root] : jstump Password [] : XXXXXX 1. Username : jstump 2. Password : XXXXXX 1-2, 'all', 'abort', or Enter to continue: Logged in. Expected result: ---------------- There shouldn't be a notice.

Comments

 [2007-01-07 02:06 UTC] cellog (Greg Beaver)
note here that it says "logging into pear.php.net" if you want to log into repos.XXXX.com pear -d default_channel=repos.XXXX.com login or pear config-set default_channel repos.XXXX.com pear login However, PEAR should detect invalid -d setup (it is expecting a parameter for d, and not error-checking. Changing summary
 [2007-01-07 18:35 UTC] cellog (Greg Beaver)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.