Skip to content

Modsecurity: Book Cover 403 Forbidden #13286

Description

@Marla-1913

Problem

As requested by @mekarpeles at #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

Image Image

Reproducing the bug

  1. Go to edition OL62382445M [ISBN 9781250439970] or OL33666561M (ISBN 9780008378240);
  2. Click "Edit";
  3. Click "Add Cover Image";
  4. Click "Choose File";
  5. Navigate to and select the appropriate cover;
  6. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Affects: ServerIssues with the server (olweb) or its plugins. [managed]Lead: @jimchampIssues overseen by Jim (Front-end Lead, BookNotes) [managed]Module: ModsecurityNeeds: BreakdownThis big issue needs a checklist or subissues to describe a breakdown of work. [managed]Needs: InvestigationThis issue/PR needs a root-cause analysis to determine a solution. [managed]Needs: ResponseIssues which require feedback from leadNeeds: Staff / InternalReviewed a PR but don't have merge powers? Use this.Priority: 2Important, as time permits. [managed]Type: BugSomething isn't working. [managed]

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions