Skip Menu |
 

This queue is for tickets about the Filesys-Virtual-Plain CPAN distribution.

Report information
The Basics
Id: 60319
Status: new
Priority: 0/
Queue: Filesys-Virtual-Plain

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

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



Download (untitled) / with headers
text/plain 400b
The _resolve_path() method fails to handle a file or directory of '0'. If the cwd is /foo/bar and we attempt _resolve_path( '0' ), the result is '/foo/bar' instead of '/foo/bar/0' as expected. The fix is to change my $path = shift || ''; in _resolve_path into my $path = shift; $path = '' unless defined $path; This could be resolved in 5.10 or later, with my $path = shift // '';


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.