1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-18 21:35:27 -04:00

New: Add rel="noreferrer" to all external links

This commit is contained in:
Mark McDowall
2021-05-10 20:33:34 -07:00
parent 05bee7c37a
commit c722e91124

View File

@@ -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;