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

(cherry picked from commit c722e9112496062313d09df16b169873f910f2a1)
pull/6309/head
Mark McDowall 3 years ago committed by Qstick
parent c47934c5ca
commit 695720b552

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

@ -189,7 +189,6 @@ class InteractiveSearchRow extends Component {
<Link <Link
to={infoUrl} to={infoUrl}
title={title} title={title}
rel='noreferrer'
> >
<div> <div>
{title} {title}

Loading…
Cancel
Save