https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42404 --- Comment #34 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 201286 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201286&action=edit Bug 42404: (follow-up) Handle move failure and empty filename in _store_upload - Check the return value of move_to(); die if the file could not be written so the caller's catch block returns a 500 rather than silently creating an UploadedFile record pointing to a missing file. - After filename sanitization, fall back to 'upload.zip' if all characters were stripped, preventing an empty path component. Signed-off-by: Tomás Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.