From ff16043a0644350e82083dc646d4be8105c4545a Mon Sep 17 00:00:00 2001 From: Qstick Date: Sun, 26 Feb 2023 00:05:31 -0600 Subject: [PATCH] New: Add noreferrer to external links --- frontend/src/Components/Link/Link.js | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/Components/Link/Link.js b/frontend/src/Components/Link/Link.js index 6cb0565d0..6b5baca4e 100644 --- a/frontend/src/Components/Link/Link.js +++ b/frontend/src/Components/Link/Link.js @@ -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;