]> 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:05:29 +0000 (11:05 -0300)
commit3013b10c9a2774391dab423646d35f6b7111f8e2
tree2670efa41d6bbe3aaf19d08b15d9c81878dd07a7
parent4da9bd00e1d393619499b038ff1471f70c1a6bc3
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