Skip to content
Snippets Groups Projects
Commit 4351529f authored by Benni Mack's avatar Benni Mack Committed by Susanne Moog
Browse files

[BUGFIX] Use "noreferrer" instead of "noopener noreferrer"

Various patches introduced a feature to not send the referer
nor the opener information to external links.

However, just because others CMS do it this way,
one should carefully consider WHAT THESE THINGS DO.

So, adding "noreferrer" implicitly includes "noopener".
What this means is that we can save a lot of bytes, save the
environment by producing less bytes and sending them over the wire.

References:
- https://www.w3.org/TR/2011/WD-html5-20110113/links.html#link-type-noreferrer
- https://web.dev/external-anchors-use-rel-noopener/
- https://html.spec.whatwg.org/multipage/links.html#link-type-noreferrer

Relates: #78488
Relates: #89044
Resolves: #89757
Releases: master
Change-Id: Ia366169cd30da23f988bae04175fdaa18be418b2
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62421


Tested-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarSusanne Moog <look@susi.dev>
Reviewed-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: default avatarSusanne Moog <look@susi.dev>
parent 9d007fd1
Branches
Tags
No related merge requests found
Showing
with 101 additions and 74 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment