From c9a50b2ba85e7fc90a7d6bca614644874b1e34f3 Mon Sep 17 00:00:00 2001 From: Dialpuri Date: Wed, 5 Jun 2024 11:17:45 +0100 Subject: [PATCH 1/2] Add "rel=noreferrer" to external links The update modifies all external anchor tags to include "rel=noreferrer". This change mitigates potential security risks related to the opening of external sites, such as reverse tabnabbing, and maintains the integrity and safety of the web application. --- webapp/src/layouts/Footer.tsx | 11 +++++- webapp/src/layouts/NavBar.tsx | 7 +++- webapp/src/modals/Citations/Citations.tsx | 37 ++++++++++++++++--- webapp/src/shared/Information/Information.tsx | 12 +++++- 4 files changed, 57 insertions(+), 10 deletions(-) diff --git a/webapp/src/layouts/Footer.tsx b/webapp/src/layouts/Footer.tsx index a932c369..515905dd 100644 --- a/webapp/src/layouts/Footer.tsx +++ b/webapp/src/layouts/Footer.tsx @@ -4,7 +4,16 @@ export default function Footer(): ReactElement {