Package de.hybris.platform.util.zip
Class SafeZipInputStreamTest
java.lang.Object
de.hybris.platform.util.zip.SafeZipInputStreamTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidstatic byte[]zipSlipArchiveAsBytes(List<String> entryNames, List<String> contents)
-
Constructor Details
-
SafeZipInputStreamTest
public SafeZipInputStreamTest()
-
-
Method Details
-
shouldThrowUnsupportedZipEntryExceptionWhenReadingMaliciousZipInputStream
public void shouldThrowUnsupportedZipEntryExceptionWhenReadingMaliciousZipInputStream() -
shouldReadCorrectEntriesFromZipInputStream
- Throws:
IOException
-
zipSlipArchiveAsBytes
-