mirror of
https://github.com/Readarr/Readarr
synced 2026-04-19 19:31:01 +02:00
New: Add rel="noreferrer" to all external links
* New: Add rel="noreferrer" to all external links (cherry picked from commit c722e9112496062313d09df16b169873f910f2a1) * Update Link.js Co-authored-by: Mark McDowall <mark@mcdowall.ca> Co-authored-by: Qstick <qstick@gmail.com>
This commit is contained in:
parent
5dfd8d1a50
commit
23142a59d7
1 changed files with 1 additions and 0 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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue