mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[PR #1720] Fix opening links with noreferrer #1702
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#1702
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/binwiederhier/ntfy/pull/1720
Author: @dmitrylyzo
Created: 4/28/2026
Status: 🔄 Open
Base:
main← Head:fix-noreferrer📝 Commits (1)
6ba3b7cFix opening links with noreferrer📊 Changes
2 files changed (+2 additions, -2 deletions)
View changed files
📝
web/src/app/utils.js(+1 -1)📝
web/src/components/Notifications.jsx(+1 -1)📄 Description
rel="noreferrer"has the same effect asrel="noopener", but also prevents theRefererheader from being sent to the new page.https://mui.com/material-ui/react-link/#security
If this feature is set, the browser will omit the
Refererheader, as well as setnoopenerto true.https://developer.mozilla.org/en-US/docs/Web/API/Window/open#noreferrer
Changes
Drop
noopenerifnoreferreris set.Issues
N/A
The
Refererheader is sent to the server.Notes
The value of the
relattribute must be space-separated.https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.