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
MIME-Version: 1.0
X-Mailer: MIME-tools 5.426 (Entity 5.426)
Content-Type: text/plain
Charset: utf8
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 273
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.