[PR #799] [MERGED] Discard Referer header from iframe and link to original URL #1274

Closed
opened 2026-03-01 14:49:07 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ArchiveBox/ArchiveBox/pull/799
Author: @Inndy
Created: 7/19/2021
Status: Merged
Merged: 7/19/2021
Merged by: @pirate

Base: devHead: dev


📝 Commits (1)

  • 0e81a07 Discard Referer header from iframe and link to original URL

📊 Changes

1 file changed (+5 additions, -3 deletions)

View changed files

📝 archivebox/templates/core/snapshot.html (+5 -3)

📄 Description

Summary

Add referrerpolicy attribute to iframe and a tag to avoid sending Referer header for privacy

reference for iframe tag and
a tag

Related issues

None

Changes these areas

  • Bugfixes
  • Feature behavior
  • Command line interface
  • Configuration options
  • Internal architecture
  • Snapshot data layout on disk

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ArchiveBox/ArchiveBox/pull/799 **Author:** [@Inndy](https://github.com/Inndy) **Created:** 7/19/2021 **Status:** ✅ Merged **Merged:** 7/19/2021 **Merged by:** [@pirate](https://github.com/pirate) **Base:** `dev` ← **Head:** `dev` --- ### 📝 Commits (1) - [`0e81a07`](https://github.com/ArchiveBox/ArchiveBox/commit/0e81a0722e30598768aff2dadcddf3ab3d3f8c83) Discard Referer header from iframe and link to original URL ### 📊 Changes **1 file changed** (+5 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `archivebox/templates/core/snapshot.html` (+5 -3) </details> ### 📄 Description # Summary Add `referrerpolicy` attribute to `iframe` and `a` tag to avoid sending `Referer` header for privacy reference for [iframe tag](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#attr-referrerpolicy) and [a tag](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-referrerpolicy) # Related issues None # Changes these areas - [ ] Bugfixes - [x] Feature behavior - [ ] Command line interface - [ ] Configuration options - [ ] Internal architecture - [ ] Snapshot data layout on disk --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 14:49:07 +03:00
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/ArchiveBox#1274
No description provided.