Zip now decompresses "12" = bzip2 as well
authorTim Düsterhus <timwolla@arcor.de>
Fri, 18 May 2012 13:17:07 +0000 (15:17 +0200)
committerTim Düsterhus <timwolla@arcor.de>
Fri, 18 May 2012 13:17:07 +0000 (15:17 +0200)
wcfsetup/install/files/lib/system/io/Zip.class.php

index 112f5ebe3cf47c2bae1f9f782e06fc419f123dcd..b6f2f2204865d2bfaba7b04b9f38424ed0fe791b 100644 (file)
@@ -305,6 +305,9 @@ class Zip extends File implements IArchive {
                switch ($header['compression']) {
                        case 8:
                                $content = gzinflate($content);
+                       break;
+                       case 12:
+                               $content = bzdecompress($content);
                        case 0:
                        break;
                        default: