Bug #63108 [NEW]: ZipArchive uncompress bug
| From: | sharqgm at gmail dot com | Date: | Tue, 18 Sep 2012 08:26:31 +0000 |
| Subject: | Bug #63108 [NEW]: ZipArchive uncompress bug | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-173530@lists.php.net to get a copy of this message | ||
From: sharqgm at gmail dot com
Operating system: windows 7
PHP version: 5.3.17
Package: Zip Related
Bug Type: Bug
Bug description:ZipArchive uncompress bug
Description:
------------
Some info: I use ziparchive because in my project (joomla) have a lot of
small
files and the upload time is too long (50-120 minute)
What I did:
- Zipped a fresh copy of joomla
- uploaded to the server
- extratched by ZipArchive
My keywords and description metadatas are missing. It seems like there is a
bug
with the newline caracter, because when I see the source, there is just a
mass of
unformatted code, but on localhost OK. When I avoid this process and
uploaded
files directly everything ok. So the problem come from the ZipArchive.
(sorry for the poor description, I'm not prof, just wanted to notice :))
Test script:
---------------
$zip = new ZipArchive;
$res = $zip->open('un.zip');
if ($res === TRUE) {
$zip->extractTo('./');
$zip->close();
echo 'ok';
} else {
echo 'failed';
}
Actual result:
--------------
Keyword and desc meta tag-s missing.
New lines missing from the most part of the code.
--
Edit bug report at https://bugs.php.net/bug.php?id=63108&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63108&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63108&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63108&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=63108&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=63108&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=63108&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=63108&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=63108&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=63108&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=63108&r=support
Expected behavior: https://bugs.php.net/fix.php?id=63108&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=63108&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=63108&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=63108&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63108&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=63108&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=63108&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=63108&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=63108&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=63108&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=63108&r=mysqlcfg