Skip Menu |
 

This queue is for tickets about the Archive-Zip CPAN distribution.

Report information
The Basics
Id: 41203
Status: new
Priority: 0/
Queue: Archive-Zip

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

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



Subject: addFileOrDirectory has typo in regexp for pathnames
Download (untitled) / with headers
text/plain 273b
In the file Archive/Zip/Archive.pm, in the function addFileOrDirectory, the following regexp is used: ( $newName =~ s{[^/]$}{&/} ) if $newName; The "&" should be a "$&". As it is the regexp just replaces the last character of the pathname with a literal ampersand.


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.