Zip code cleanup

Merged
#259 · Created  · Last updated

Merged pull request

Merged in tingley/okapi/zip (pull request #259)

d009645·Author: ·Closed by: ·2018-08-15

Description

Pulls out the zip handling code into its own util class, deletes a bunch of dead methods, and cleans up some of the file/stream handling.

The original purpose of this was to standardize all the places in the code that explode zip archives onto the safeUnzip method, which includes a check to prevent a potential security issue. I had written most of that code in M36 but it wasn’t named clearly or called from everywhere in the codebase.

0 attachments

0 comments

Loading commits...