1
0
mirror of https://github.com/Ne-Lexa/php-zip.git synced 2025-07-31 12:40:09 +02:00

Merge tag '3.1.14' into develop

fix unknown zip software version
This commit is contained in:
Ne-Lexa
2019-12-09 12:18:20 +03:00

View File

@@ -225,6 +225,10 @@ class ZipOutputStream implements ZipOutputStreamInterface
$entry->setCreatedOS(ZipEntry::PLATFORM_UNIX);
}
if ($entry->getSoftwareVersion() === ZipEntry::UNKNOWN) {
$entry->setSoftwareVersion(63);
}
if ($entry->getExtractedOS() === ZipEntry::UNKNOWN) {
$entry->setExtractedOS(ZipEntry::PLATFORM_UNIX);
}