Skip Menu |

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

Report information
The Basics
Id: 64890
Status: new
Priority: 0/
Queue: Net-FTP-File

People
Owner: Nobody in particular
Requestors: muradin [...] gmail.com
Cc:
AdminCc:

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



Subject: dir_hashref cuts the first character of a filename
Date: Tue, 18 Jan 2011 18:41:11 +0100
To: bug-Net-FTP-File [...] rt.cpan.org
From: Matteo Riva <muradin [...] gmail.com>
I found that on a specific site (the problem is not reproducible everywhere), the dir_hashref function cuts the name of a directory from "en" to just "n" because for some reason the space that's supposed to be there is missing. The offending line is #50 in current version: $path = substr( $path, 1 ); # remove first space that is there but is not part of the name I changed it to: $path =~ s/^ //; # remove first space that is there but is not part of the name which actually removes a space and not any character present.