Skip Menu |
 

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

Report information
The Basics
Id: 46303
Status: open
Priority: 0/
Queue: Archive-Zip

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

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



Subject: extractTree assumes $dest ends in '/'
Download (untitled) / with headers
text/plain 366b
extractTree assumes that the destination ends in '/'. If, for example, I try this: $zip->extractTree(undef,'/tmp/foobar'); on a zip containing: some-dir/ some-dir/foo Instead of getting the expected: /tmp/foobar/some-dir/foo I get: /tmp/foobarsome-dir/foo If I instead do: $zip->extractTree(undef,'/tmp/foobar/'); then things work as expected.
Download (untitled) / with headers
text/plain 290b
Hello Mike, Thank you for reporting the issue. It has been fixed and will be available with the next release of the distribution. Meanwhile, you can check out the repository at: http://svn.ali.as/cpan/trunk/Archive-Zip/. Regards, Alan Haggai Alavi. -- The difference makes the difference


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.