Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.5

Bug #18076 Reader select error
Submitted: 2010-11-19 07:26 UTC
From: vingood Assigned:
Status: Open Package: File_Archive (version 1.5.4)
PHP Version: 5.2.1 OS: Windows XP
Roadmaps: (Not assigned)    
Subscription  


 [2010-11-19 07:26 UTC] vingood (Sergey Gut)
Description: ------------ For example file d:/1.zip contains 2.txt 3.txt $a=File_Archive::read('d:/1.zip/'); $a->select('2.txt'); // return false, but need true Bug was found in Archive/Reader/ChangeName/Directory.php function unmodifyName before fix: substr($name, strlen($this->newBaseName)+1); after fix: substr($name, strlen($this->newBaseName));

Comments