[GH-ISSUE #792] Hashes on integrity attribute on archives are broken #382

Open
opened 2026-02-25 23:34:06 +03:00 by kerem · 0 comments
Owner

Originally created by @alexandru0-dev on GitHub (Nov 29, 2023).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/792

Data

  • Shiori version: 1.5.4
  • Database Engine: sqlite
  • Operating system: NixOs
  • CLI/Web interface/Web Extension: 1.5.4 (served web-ui)

Describe the bug / actual behavior

When viewing the archived page, if the original webpage has an integrity attribute, the calculated hash is different from the hash of the original webpage, resulting in a missing resource.

Expected behavior / Possible Solution

Either replace the hash with the calculated one or remove the integrity attribute completely.

To Reproduce

Steps to reproduce the behavior:

  1. Add a link like: https://www.cloudhypervisor.org/
  2. Create archive for the link
  3. Open the archive page
Originally created by @alexandru0-dev on GitHub (Nov 29, 2023). Original GitHub issue: https://github.com/go-shiori/shiori/issues/792 ## Data - **Shiori version**: 1.5.4 - **Database Engine**: sqlite - **Operating system**: NixOs - **CLI/Web interface/Web Extension**: 1.5.4 (served web-ui) ## Describe the bug / actual behavior When viewing the archived page, if the original webpage has an integrity attribute, the calculated hash is different from the hash of the original webpage, resulting in a missing resource. ## Expected behavior / Possible Solution Either replace the hash with the calculated one or remove the integrity attribute completely. ## To Reproduce Steps to reproduce the behavior: 1. Add a link like: https://www.cloudhypervisor.org/ 2. Create archive for the link 3. Open the archive page
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shiori#382
No description provided.