]> 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 05:03:18 +0000 (02:03 -0300)
commitdeb2452c3c48ba6497c88696d51d1925d9314439
treee84b00364cc4c7df8a92564cd2532c8e99ffb3ff
parentb824756407eeeec5ad6e1d55d9b1c17de495b041
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