Skip Menu |

This queue is for tickets about the Net-FTP-Find CPAN distribution.

Report information
The Basics
Id: 83194
Status: resolved
Priority: 0/
Queue: Net-FTP-Find

People
Owner: Nobody in particular
Requestors: djerius [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.011
Fixed in: (no value)



Subject: incorrect handling of directory entry names which are numbers
The code which scans the directory listing does not take into account the fact that directory entry names may be numbers. Here's an actual example: ftp://cdaftp.cfa.harvard.edu/pub/byobsid/0 The problem is at line 111 in Net::FTP::Find::Mixin: 107 local ( 108 $permissions, $link, $user, $group, $size, $month, $mday, $year_or_time, $_ 109 ) = split(/\s+/, $e, 9); 110 111 next unless $_; It should check for existence, e.g. "next unless defined $_"
Thank you for reporting a bug. This problem was fixed in release 0.032. At now, The Net::FTP::Find can handle a file named "0".