#13232·openlibrary

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.

OL62350777M cover

Reproducing the bug

  1. Download this cover and save it as Real, Vol. 1.jpg.
  2. Go to edition OL62350777M.
  3. Hit Edit
  4. Click Add Cover Image.
  5. Hit Browse.
  6. Select the cover.
  7. 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