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
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.