modsec: Can't upload cover art
Author: jwillikersCreated Jul 29, 2026Updated Sep 23, 2026
LabelsType: BugPriority: 3Needs: LeadLead: @jimchampNeeds: ResponseModule: Modsecurity
Problem
When I choose a cover from my desktop to upload and hit Upload, the dialog just shows a blank rectangle instead of the uploaded picture and the picture is not uploaded. This started happening on Wednesday last week, I think.
Reproducing the bug
- Download this cover and save it as
Real, Vol. 1.jpg. - Go to edition OL62350777M.
- Hit
Edit - Click
Add Cover Image. - Hit
Browse. - Select the cover.
- Hit upload.
Expected behavior: The cover should be uploaded and then displayed in the dialog.
Actual behavior: A blank rectangle is displayed and the cover is not uploaded.
Context
- Browser (Chrome, Safari, Firefox, etc): Firefox
- OS (Windows, Mac, etc): Linux
- Logged in (Y/N): Y
- Environment (prod, dev, local): prod
Breakdown
Implementation Details (for maintainers)Requirements Checklist
- [ ]
Related files
Stakeholders
Instructions for Contributors
- Please run these commands to ensure your repository is up to date before creating a new branch to work on this issue and each time after pushing code to Github, because the pre-commit bot may add commits to your PRs upstream.
Source: internetarchive/openlibrary