Bug 20564: Don't use system to unzip files
authorNick Clemens <nick@bywatersolutions.com>
Tue, 10 Jul 2018 13:48:07 +0000 (13:48 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 20 Sep 2018 14:10:18 +0000 (16:10 +0200)
commit1293b0a05b1991f80ac547106a861c253c81aa35
treeb7b1745bcbd3da387dbd94486088afea01044dd9
parent452d61c3e174e0a638fca3bec7ec76d7551cb86f
Bug 20564: Don't use system to unzip files

To test:
1 - Setup a zip file for patron images and cover images
2 - Test each tool
3 - Get a '500 error' after upload (note images do upload and attach)
4 - Apply patch
5 - Restart all the things
6 - Test agtain, uploads should complete and results display

Signed-off-by: George Williams <george@nekls.org>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 8b806227c130e86712e3e5bda61520447c60671d)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 0f45f3afdf67193ec849f72955b6de4fbeb17db0)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
tools/picture-upload.pl
tools/upload-cover-image.pl