Modsecurity: Book Cover 403 Forbidden
Author: Marla-1913Created Aug 8, 2026Updated Sep 23, 2026
LabelsType: BugNeeds: BreakdownPriority: 2Affects: ServerNeeds: InvestigationNeeds: LeadLead: @jimchampNeeds: Response
Problem
As requested by @mekarpeles at https://github.com/internetarchive/openlibrary/issues/12718, I'm creating a new issue. More than once (most recently today), I've gotten a "Book Cover 403 Forbidden" message when I tried to upload book covers from my computer to the following editions:
https://openlibrary.org/books/OL62382445M/Addicted_to_Anxiety https://openlibrary.org/books/OL33666561M/Ten_Times_Happier
Reproducing the bug
- Go to edition OL62382445M [ISBN 9781250439970] or OL33666561M (ISBN 9780008378240);
- Click "Edit";
- Click "Add Cover Image";
- Click "Choose File";
- Navigate to and select the appropriate cover;
- Click "Upload."
- Expected behavior: The cover should have been uploaded to the edition.
- Actual behavior: Received a "Book Cover 403: Forbidden" message (see screenshots above).
Context
- Browser (Chrome, Safari, Firefox, etc): DuckDuckGo and Google Chrome
- OS (Windows, Mac, etc): Windows 11
- Logged in (Y/N): Yes
- 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