Skip to content

Commit 3be5ec9

Browse files
committed
#38 Try this, I didn't find any other like it.
1 parent 4eda789 commit 3be5ec9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Zip/Core/AbstractZipArchive.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ abstract class AbstractZipArchive extends AbstractZipWriter {
5858
const DEFAULT_GP_FLAGS_STORED = self::NULL_WORD; // Compression type 0 = stored
5959

6060
// UID 1000, GID 0
61-
const EXTRA_FIELD_NEW_UNIX_GUID = self::HEADER_UNIX_TYPE_3 . "\x0B\x00\x01\x04\xE8\x03\x00\x00\x04\x00\x00\x00\x00"; // \x75\x78 3rd gen Unis GUID
62-
const EXTRA_FIELD_NEW_UNIX_GUID_CD = self::HEADER_UNIX_TYPE_3 . self::NULL_WORD; // \x75\x78 3rd gen Unis GUID CD record version must have length 0.
61+
const EXTRA_FIELD_NEW_UNIX_GUID = "ux\x0B\x00\x01\x04\xE8\x03\x00\x00\x04\x00\x00\x00\x00"; // \x75\x78 3rd gen Unis GUID
62+
const EXTRA_FIELD_NEW_UNIX_GUID_CD = "ux\x00\x00"; // \x75\x78 3rd gen Unis GUID CD record version must have length 0.
6363

6464
protected $zipComment = null;
6565
protected $cdRec = array(); // central directory

0 commit comments

Comments
 (0)