mirror of
https://github.com/Radarr/Radarr
synced 2026-05-09 11:10:23 +02:00
New: Add rel="noreferrer" to all external links
(cherry picked from commit c722e9112496062313d09df16b169873f910f2a1)
This commit is contained in:
parent
c47934c5ca
commit
695720b552
2 changed files with 1 additions and 1 deletions
|
|
@ -43,6 +43,7 @@ class Link extends Component {
|
|||
el = 'a';
|
||||
linkProps.href = to;
|
||||
linkProps.target = target || '_blank';
|
||||
linkProps.rel = 'noreferrer';
|
||||
} else if (noRouter) {
|
||||
el = 'a';
|
||||
linkProps.href = to;
|
||||
|
|
|
|||
|
|
@ -189,7 +189,6 @@ class InteractiveSearchRow extends Component {
|
|||
<Link
|
||||
to={infoUrl}
|
||||
title={title}
|
||||
rel='noreferrer'
|
||||
>
|
||||
<div>
|
||||
{title}
|
||||
|
|
|
|||
Loading…
Reference in a new issue