https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42404

--- Comment #21 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 200840
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200840&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.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to