[GH-ISSUE #930] "View Original" link in the archive view references the same page #417

Closed
opened 2026-02-25 23:34:11 +03:00 by kerem · 1 comment
Owner

Originally created by @greenfork on GitHub (Jun 5, 2024).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/930

Originally assigned to: @fmartingr on GitHub.

Data

  • Shiori version: d05188b666
  • Database Engine: SQLite
  • Operating system: OpenBSD
  • CLI/Web interface/Web Extension: Web interface

Describe the bug / actual behavior

A link "View Original" on the page like https://links.greenfork.me/bookmark/4/archive references the same https://links.greenfork.me/bookmark/4/archive link.

<body class="archive">
    <div id="shiori-archive-header" class="header">
        <p id="shiori-logo"><span></span>shiori</p>
        <div class="spacer"></div>
        <a href="" target="_blank">View Original</a>
        
        <a href="[/bookmark/4/content](view-source:https://links.greenfork.me/bookmark/4/content)">View Readable</a>
        
    </div>
    <iframe src="[/bookmark/4/archive/file/](view-source:https://links.greenfork.me/bookmark/4/archive/file/)" frameborder="0"></iframe>
</body>

See <a href="" target="_blank">View Original</a>.

Expected behavior

Should be a link to the original resource.

To Reproduce

Steps to reproduce the behavior:

  1. Add a page
  2. Visit its archive
  3. Click "View Original"

Notes

The link to view the original works fine from the home page and from the "readable" page.

Originally created by @greenfork on GitHub (Jun 5, 2024). Original GitHub issue: https://github.com/go-shiori/shiori/issues/930 Originally assigned to: @fmartingr on GitHub. ## Data - **Shiori version**: d05188b666a28a02a83c6d050eaa91e4bf277386 - **Database Engine**: SQLite - **Operating system**: OpenBSD - **CLI/Web interface/Web Extension**: Web interface ## Describe the bug / actual behavior A link "View Original" on the page like https://links.greenfork.me/bookmark/4/archive references the same https://links.greenfork.me/bookmark/4/archive link. ```html <body class="archive"> <div id="shiori-archive-header" class="header"> <p id="shiori-logo"><span>栞</span>shiori</p> <div class="spacer"></div> <a href="" target="_blank">View Original</a> <a href="[/bookmark/4/content](view-source:https://links.greenfork.me/bookmark/4/content)">View Readable</a> </div> <iframe src="[/bookmark/4/archive/file/](view-source:https://links.greenfork.me/bookmark/4/archive/file/)" frameborder="0"></iframe> </body> ``` See `<a href="" target="_blank">View Original</a>`. ## Expected behavior Should be a link to the original resource. ## To Reproduce Steps to reproduce the behavior: 1. Add a page 2. Visit its archive 3. Click "View Original" ## Notes The link to view the original works fine from the home page and from the "readable" page.
kerem 2026-02-25 23:34:11 +03:00
  • closed this issue
  • added the
    type:bug
    label
Author
Owner

@fmartingr commented on GitHub (Jun 5, 2024):

Thanks for the report, I reproduced this locally.

<!-- gh-comment-id:2150809704 --> @fmartingr commented on GitHub (Jun 5, 2024): Thanks for the report, I reproduced this locally.
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#417
No description provided.