From f9c9c52d750fa6b029a874806a0faa59ea64d74d Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Thu, 30 Nov 2023 16:28:17 +0100 Subject: [PATCH] use _blank + noopener + noreferrer consistently --- .../admin/_tab_security_notifications.html | 2 + lnbits/core/templates/core/extensions.html | 1 + lnbits/core/templates/core/index.html | 70 +++++++++++++++---- lnbits/templates/base.html | 4 +- 4 files changed, 62 insertions(+), 15 deletions(-) diff --git a/lnbits/core/templates/admin/_tab_security_notifications.html b/lnbits/core/templates/admin/_tab_security_notifications.html index 03e5bad05..6d250b526 100644 --- a/lnbits/core/templates/admin/_tab_security_notifications.html +++ b/lnbits/core/templates/admin/_tab_security_notifications.html @@ -8,6 +8,7 @@ class="q-btn" color="white" target="_blank" + rel="noopener noreferrer" href="https://github.com/lnbits/lnbits/releases" v-text="$t('releases')" > @@ -58,6 +59,7 @@ {%raw%}{{ $t('release_notes') }}{%endraw%} diff --git a/lnbits/core/templates/core/index.html b/lnbits/core/templates/core/index.html index 5266d35f9..242164bed 100644 --- a/lnbits/core/templates/core/index.html +++ b/lnbits/core/templates/core/index.html @@ -49,7 +49,7 @@ type="a" href="https://github.com/lnbits/lnbits" target="_blank" - rel="noopener" + rel="noopener noreferrer" :label="$t('view_github')" > @@ -82,7 +82,11 @@ >