[BUGFIX] Add rel="noreferrer" to all external links opened in new window
This patch defines "opening in a new window" as links having an attribute `target` that is not either empty, `_self`, `_top` or `_parent`. Resolves: #89771 Relates: #89757 Relates: #89044 Relates: #78488 Releases: master Change-Id: I23f775f728b9ddfb25acd306b653cbfbb6eeba51 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62430 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Jörg Bösche <typo3@joergboesche.de> Tested-by:
Susanne Moog <look@susi.dev> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Tobi Kretschmann <tobi@tobishome.de> Reviewed-by:
Susanne Moog <look@susi.dev> Reviewed-by:
Jörg Bösche <typo3@joergboesche.de> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- typo3/sysext/core/Documentation/Changelog/10.1/Feature-78488-AddRelNoreferrerToExternalLinks.rst 5 additions, 2 deletions...og/10.1/Feature-78488-AddRelNoreferrerToExternalLinks.rst
- typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php 1 addition, 1 deletion.../frontend/Classes/ContentObject/ContentObjectRenderer.php
- typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php 17 additions, 0 deletions...nd/Tests/Unit/ContentObject/ContentObjectRendererTest.php
Please register or sign in to comment