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

Bug #4953 Extracting does not work with absolute paths
Submitted: 2005-07-31 09:39 UTC
From: meyer at labeltools dot com Assigned: vincentlascaux
Status: Closed Package: File_Archive
PHP Version: 5.0.3 OS: WinXP
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 20 + 41 = ?

 
 [2005-07-31 09:39 UTC] meyer at labeltools dot com
Description: ------------ Obviously, File_Archive does not work with absolute paths on WinXP. Test script: --------------- require_once 'File/Archive.php'; $source = 'E:\upload\fallen2.zip\container_fallen.mc0'; $destination = 'E:\userdata\priv'; File_Archive::extract($source, $destination); Expected result: ---------------- Extracting the file "container_fallen.mc0". Actual result: -------------- No file extracted, and no error message either.

Comments

 [2005-08-15 18:09 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2006-02-16 09:43 UTC] crap at pixelabuse dot co dot uk
Description: -------------- This does not work for me on WinXP/Apache1.3/PHP4.4 Test Script: -------------- $archive = "d:\www\cms\modules\rss.zip/"; $dest = "d:\www\cms\modules\rss"; $ret = File_Archive::extract($archive, $dest); Result: -------------- Notice: Only variable references should be returned by reference in d:\www\cms\classes\File\Archive.php on line 574 Notice: Only variable references should be returned by reference in d:\www\cms\classes\File\Archive.php on line 593 File_Archive_Reader_File represents a single file. makeAppendWriter cant be executed on it