mirror of https://github.com/Sonarr/Sonarr
New: Add rel="noreferrer" to all external links
This commit is contained in:
parent
05bee7c37a
commit
c722e91124
|
@ -43,6 +43,7 @@ class Link extends Component {
|
||||||
el = 'a';
|
el = 'a';
|
||||||
linkProps.href = to;
|
linkProps.href = to;
|
||||||
linkProps.target = target || '_blank';
|
linkProps.target = target || '_blank';
|
||||||
|
linkProps.rel='noreferrer';
|
||||||
} else if (noRouter) {
|
} else if (noRouter) {
|
||||||
el = 'a';
|
el = 'a';
|
||||||
linkProps.href = to;
|
linkProps.href = to;
|
||||||
|
|
Loading…
Reference in New Issue