From 97fd4e055a38eb2e795c5f9706f210deebda71c6 Mon Sep 17 00:00:00 2001 From: Master3395 Date: Sat, 13 Sep 2025 17:44:37 +0200 Subject: [PATCH] Enhance security by adding rel="noopener" to external links - Updated multiple HTML templates to include rel="noopener" on links that open in a new tab, improving security by preventing potential reverse tabnabbing attacks. - This change affects various templates across the backup, base, file manager, mail server, and website functions sections. --- backup/templates/backup/backupSchedule.html | 1 + backup/templates/backup/googleDrive.html | 3 ++- .../templates/baseTemplate/FileManager.html | 2 +- .../baseTemplate/FileManagerIntegrated.html | 2 +- .../templates/baseTemplate/homePage.html | 2 +- baseTemplate/templates/baseTemplate/index.html | 16 ++++++++-------- .../templates/baseTemplate/onboarding.html | 2 +- filemanager/templates/filemanager/index.html | 2 +- .../templates/filemanager/indexIntegrated.html | 2 +- mailServer/templates/mailServer/listEmails.html | 4 ++-- testPlugin/templates/testPlugin/plugin_docs.html | 12 ++++++------ .../static/websiteFunctions/websiteFunctions.js | 4 ++-- .../websiteFunctions/listChildDomains.html | 6 +++--- .../templates/websiteFunctions/listCron.html | 2 +- .../templates/websiteFunctions/listWebsites.html | 4 ++-- .../templates/websiteFunctions/manageGIT.html | 2 +- .../templates/websiteFunctions/sshAccess.html | 8 ++++---- .../templates/websiteFunctions/website.html | 8 ++++---- 18 files changed, 42 insertions(+), 40 deletions(-) diff --git a/backup/templates/backup/backupSchedule.html b/backup/templates/backup/backupSchedule.html index 904bcf303..30d12e3b2 100644 --- a/backup/templates/backup/backupSchedule.html +++ b/backup/templates/backup/backupSchedule.html @@ -402,6 +402,7 @@
{% trans "Remote Backups Guide" %} diff --git a/backup/templates/backup/googleDrive.html b/backup/templates/backup/googleDrive.html index ca874d8ed..bb5bb6da6 100644 --- a/backup/templates/backup/googleDrive.html +++ b/backup/templates/backup/googleDrive.html @@ -435,6 +435,7 @@ diff --git a/baseTemplate/templates/baseTemplate/FileManager.html b/baseTemplate/templates/baseTemplate/FileManager.html index 5da3a3a63..16c3401d8 100644 --- a/baseTemplate/templates/baseTemplate/FileManager.html +++ b/baseTemplate/templates/baseTemplate/FileManager.html @@ -173,7 +173,7 @@