Home » File Formats » Archive_Zip » Bug #7871
Packing with 'no_compression' works incorrectly
Details
| Submitted | 2006-06-12 12:14 UTC |
|---|---|
| From | pussygrinder at mail dot ru |
| Status | Suspended |
| Package | Archive_Zip |
| PHP Version | 5.0.5 |
| OS | WinXP |
| Roadmaps | (Not assigned) |
Comments
[2006-06-12 12:14 UTC] pussygrinder at mail dot ru
Description:
------------
Archives become corrupted when use packing with 'no_comopresson' option set to 'true'. I solved the promlem by changing
$p_header['compression'] = 8;
to
$p_header['compression'] = ($p_params['no_compression'] ? 0 : 8);
in 'zip.php' file on line 1429.