]> git.koha-community.org Git - koha.git/commit
Bug 37323: Don't allow symlinks in link files in zip and validate filepaths
authorChris Cormack <chris@bigballofwax.co.nz>
Thu, 18 Jul 2024 23:57:32 +0000 (23:57 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 13 Aug 2024 14:53:57 +0000 (11:53 -0300)
commit0b51da566d9cfab94945fbf32fbf2dae62411a25
tree183de000de53040d2aeabc18352093e16537e126
parentbbb74562c0b170a5c7892b722253c0ba7a71aed8
Bug 37323: Don't allow symlinks in link files in zip and validate filepaths

Test plan:
0. Apply patch and restart/reload Koha
1. Test that uploading a patron image still works, in single file format and as a zip

Work as suggested

Signed-off-by: Amit Gupta <amit.gupta@informaticsglobal.com>
Signed-off-by: David Cook <dcook@prosentient.com.au>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
tools/picture-upload.pl