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

Bug #13690 getRecursive does not work because of '.' and '..' directories
Submitted: 2008-04-16 01:18 UTC Modified: 2008-04-22 15:53 UTC
From: mumura Assigned: jorrit
Status: Closed Package: Net_FTP (version 1.3.5)
PHP Version: 5.2.5 OS:
Roadmaps: 1.3.6, 1.4.0a2    
Subscription  


 [2008-04-16 01:18 UTC] mumura (Mike Raistrick)
Description: ------------ Problem as per original bug 2268 still seems to be present in 1.3.5. The test condition for directories '.' and '..' seems to be missing the "name" array key, so on line 977 if ($dir_entry == '.' || $dir_entry == '..') { should be if ($dir_entry["name"] == '.' || $dir_entry["name"] == '..') { Have attached patch file

Comments

 [2008-04-22 15:52 UTC] jorrit (Jorrit Schippers)
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.