From 3396673ccd09bf291418950d3fb704762d6a7af0 Mon Sep 17 00:00:00 2001
From: Dominic Taylor
Date: Mon, 19 Aug 2019 23:28:05 +0100
Subject: [PATCH] add rel=nopener to all links that contain target=blank
https://developers.google.com/web/tools/lighthouse/audits/noopener
---
doc/language_issues.en | 2 +-
doc/language_issues.es | 2 +-
doc/language_issues.it | 2 +-
doc/language_issues.nl | 2 +-
doc/language_issues.pl | 2 +-
doc/language_issues.ru | 2 +-
doc/language_issues.tr | 2 +-
html/cgi-bin/credits.cgi | 4 ++--
html/cgi-bin/dns.cgi | 2 +-
html/cgi-bin/fireinfo.cgi | 4 ++--
html/cgi-bin/logs.cgi/calamaris.dat | 8 ++++----
html/cgi-bin/proxy.cgi | 2 +-
html/html/clwarn.cgi | 2 +-
html/html/redirect-templates/legacy/template.html | 2 +-
html/html/themes/ipfire/include/functions.pl | 4 ++--
langs/de/cgi-bin/de.pl | 6 +++---
langs/en/cgi-bin/en.pl | 8 ++++----
langs/fr/cgi-bin/fr.pl | 8 ++++----
langs/it/cgi-bin/it.pl | 6 +++---
langs/nl/cgi-bin/nl.pl | 6 +++---
langs/pl/cgi-bin/pl.pl | 6 +++---
langs/ru/cgi-bin/ru.pl | 6 +++---
langs/tr/cgi-bin/tr.pl | 6 +++---
23 files changed, 47 insertions(+), 47 deletions(-)
diff --git a/doc/language_issues.en b/doc/language_issues.en
index 9ca53b50a1..d165923ca5 100644
--- a/doc/language_issues.en
+++ b/doc/language_issues.en
@@ -307,7 +307,7 @@ WARNING: untranslated string: advproxy wpad example dst_noproxy_ip = e.g. 192.16
WARNING: untranslated string: advproxy wpad example dst_noproxy_url = e.g. *.ipfire.org*
WARNING: untranslated string: advproxy wpad label dst_noproxy_ip = Excluded IP Subnets (one per line)
WARNING: untranslated string: advproxy wpad label dst_noproxy_url = Excluded URL s (one per line)
-WARNING: untranslated string: advproxy wpad notice = Notice: For WPAD/PAC to work properly, furtcher changes need to be made. Please see the Wiki.
+WARNING: untranslated string: advproxy wpad notice = Notice: For WPAD/PAC to work properly, furtcher changes need to be made. Please see the Wiki.
WARNING: untranslated string: advproxy wpad title = Web Proxy Auto-Discovery Protocol (WPAD) / Proxy Auto-Config (PAC)
WARNING: untranslated string: advproxy wpad view pac = Open PAC File
WARNING: untranslated string: age second = second
diff --git a/doc/language_issues.es b/doc/language_issues.es
index 2af165d6b1..81ed5f6a49 100644
--- a/doc/language_issues.es
+++ b/doc/language_issues.es
@@ -727,7 +727,7 @@ WARNING: untranslated string: advproxy wpad example dst_noproxy_ip = e.g. 192.16
WARNING: untranslated string: advproxy wpad example dst_noproxy_url = e.g. *.ipfire.org*
WARNING: untranslated string: advproxy wpad label dst_noproxy_ip = Excluded IP Subnets (one per line)
WARNING: untranslated string: advproxy wpad label dst_noproxy_url = Excluded URL s (one per line)
-WARNING: untranslated string: advproxy wpad notice = Notice: For WPAD/PAC to work properly, furtcher changes need to be made. Please see the Wiki.
+WARNING: untranslated string: advproxy wpad notice = Notice: For WPAD/PAC to work properly, furtcher changes need to be made. Please see the Wiki.
WARNING: untranslated string: advproxy wpad title = Web Proxy Auto-Discovery Protocol (WPAD) / Proxy Auto-Config (PAC)
WARNING: untranslated string: advproxy wpad view pac = Open PAC File
WARNING: untranslated string: age second = second
diff --git a/doc/language_issues.it b/doc/language_issues.it
index 59c6499541..eed99f4682 100644
--- a/doc/language_issues.it
+++ b/doc/language_issues.it
@@ -804,7 +804,7 @@ WARNING: untranslated string: advproxy wpad example dst_noproxy_ip = e.g. 192.16
WARNING: untranslated string: advproxy wpad example dst_noproxy_url = e.g. *.ipfire.org*
WARNING: untranslated string: advproxy wpad label dst_noproxy_ip = Excluded IP Subnets (one per line)
WARNING: untranslated string: advproxy wpad label dst_noproxy_url = Excluded URL s (one per line)
-WARNING: untranslated string: advproxy wpad notice = Notice: For WPAD/PAC to work properly, furtcher changes need to be made. Please see the Wiki.
+WARNING: untranslated string: advproxy wpad notice = Notice: For WPAD/PAC to work properly, furtcher changes need to be made. Please see the Wiki.
WARNING: untranslated string: advproxy wpad title = Web Proxy Auto-Discovery Protocol (WPAD) / Proxy Auto-Config (PAC)
WARNING: untranslated string: advproxy wpad view pac = Open PAC File
WARNING: untranslated string: application layer gateways = Application Layer Gateways
diff --git a/doc/language_issues.nl b/doc/language_issues.nl
index 836745e5af..f1076d1a7c 100644
--- a/doc/language_issues.nl
+++ b/doc/language_issues.nl
@@ -798,7 +798,7 @@ WARNING: untranslated string: advproxy wpad example dst_noproxy_ip = e.g. 192.16
WARNING: untranslated string: advproxy wpad example dst_noproxy_url = e.g. *.ipfire.org*
WARNING: untranslated string: advproxy wpad label dst_noproxy_ip = Excluded IP Subnets (one per line)
WARNING: untranslated string: advproxy wpad label dst_noproxy_url = Excluded URL s (one per line)
-WARNING: untranslated string: advproxy wpad notice = Notice: For WPAD/PAC to work properly, furtcher changes need to be made. Please see the Wiki.
+WARNING: untranslated string: advproxy wpad notice = Notice: For WPAD/PAC to work properly, furtcher changes need to be made. Please see the Wiki.
WARNING: untranslated string: advproxy wpad title = Web Proxy Auto-Discovery Protocol (WPAD) / Proxy Auto-Config (PAC)
WARNING: untranslated string: advproxy wpad view pac = Open PAC File
WARNING: untranslated string: application layer gateways = Application Layer Gateways
diff --git a/doc/language_issues.pl b/doc/language_issues.pl
index 2af165d6b1..81ed5f6a49 100644
--- a/doc/language_issues.pl
+++ b/doc/language_issues.pl
@@ -727,7 +727,7 @@
WARNING: untranslated string: advproxy wpad example dst_noproxy_url = e.g. *.ipfire.org*
WARNING: untranslated string: advproxy wpad label dst_noproxy_ip = Excluded IP Subnets (one per line)
WARNING: untranslated string: advproxy wpad label dst_noproxy_url = Excluded URL s (one per line)
-WARNING: untranslated string: advproxy wpad notice = Notice: For WPAD/PAC to work properly, furtcher changes need to be made. Please see the Wiki.
+WARNING: untranslated string: advproxy wpad notice = Notice: For WPAD/PAC to work properly, furtcher changes need to be made. Please see the Wiki.
WARNING: untranslated string: advproxy wpad title = Web Proxy Auto-Discovery Protocol (WPAD) / Proxy Auto-Config (PAC)
WARNING: untranslated string: advproxy wpad view pac = Open PAC File
WARNING: untranslated string: age second = second
diff --git a/doc/language_issues.ru b/doc/language_issues.ru
index b904157b1b..85c76f0d90 100644
--- a/doc/language_issues.ru
+++ b/doc/language_issues.ru
@@ -729,7 +729,7 @@ WARNING: untranslated string: advproxy wpad example dst_noproxy_ip = e.g. 192.16
WARNING: untranslated string: advproxy wpad example dst_noproxy_url = e.g. *.ipfire.org*
WARNING: untranslated string: advproxy wpad label dst_noproxy_ip = Excluded IP Subnets (one per line)
WARNING: untranslated string: advproxy wpad label dst_noproxy_url = Excluded URL s (one per line)
-WARNING: untranslated string: advproxy wpad notice = Notice: For WPAD/PAC to work properly, furtcher changes need to be made. Please see the Wiki.
+WARNING: untranslated string: advproxy wpad notice = Notice: For WPAD/PAC to work properly, furtcher changes need to be made. Please see the Wiki.
WARNING: untranslated string: advproxy wpad title = Web Proxy Auto-Discovery Protocol (WPAD) / Proxy Auto-Config (PAC)
WARNING: untranslated string: advproxy wpad view pac = Open PAC File
WARNING: untranslated string: age second = second
diff --git a/doc/language_issues.tr b/doc/language_issues.tr
index cf773d8cbd..264188d314 100644
--- a/doc/language_issues.tr
+++ b/doc/language_issues.tr
@@ -790,7 +790,7 @@ WARNING: untranslated string: advproxy wpad example dst_noproxy_ip = e.g. 192.16
WARNING: untranslated string: advproxy wpad example dst_noproxy_url = e.g. *.ipfire.org*
WARNING: untranslated string: advproxy wpad label dst_noproxy_ip = Excluded IP Subnets (one per line)
WARNING: untranslated string: advproxy wpad label dst_noproxy_url = Excluded URL s (one per line)
-WARNING: untranslated string: advproxy wpad notice = Notice: For WPAD/PAC to work properly, furtcher changes need to be made. Please see the Wiki.
+WARNING: untranslated string: advproxy wpad notice = Notice: For WPAD/PAC to work properly, furtcher changes need to be made. Please see the Wiki.
WARNING: untranslated string: advproxy wpad title = Web Proxy Auto-Discovery Protocol (WPAD) / Proxy Auto-Config (PAC)
WARNING: untranslated string: advproxy wpad view pac = Open PAC File
WARNING: untranslated string: bytes = unknown string
diff --git a/html/cgi-bin/credits.cgi b/html/cgi-bin/credits.cgi
index 5031e40889..2fb7fdc47f 100644
--- a/html/cgi-bin/credits.cgi
+++ b/html/cgi-bin/credits.cgi
@@ -54,7 +54,7 @@ END
print <
- $Lang::tr{'visit us at'}: https://www.ipfire.org/
+ $Lang::tr{'visit us at'}: https://www.ipfire.org/
@@ -147,7 +147,7 @@ END
print <
This product includes GeoLite data created by MaxMind, available from
- http://www.maxmind.com/.
+ http://www.maxmind.com/.
END
;
diff --git a/html/cgi-bin/dns.cgi b/html/cgi-bin/dns.cgi
index 314107df90..e5832a5608 100644
--- a/html/cgi-bin/dns.cgi
+++ b/html/cgi-bin/dns.cgi
@@ -91,7 +91,7 @@ print <
- $Lang::tr{'dns desc'} $Lang::tr{'dns list'} |
+ $Lang::tr{'dns desc'} $Lang::tr{'dns list'} |
|
diff --git a/html/cgi-bin/fireinfo.cgi b/html/cgi-bin/fireinfo.cgi
index 08fee3d8ac..45be5e45bd 100644
--- a/html/cgi-bin/fireinfo.cgi
+++ b/html/cgi-bin/fireinfo.cgi
@@ -67,7 +67,7 @@ if ($fireinfosettings{'ENABLE_FIREINFO'} ne "on") {
$Lang::tr{'fireinfo why descr1'}
- $Lang::tr{'fireinfo why descr2'}$Lang::tr{'fireinfo why read more'}
+ $Lang::tr{'fireinfo why descr2'}$Lang::tr{'fireinfo why read more'}
END
@@ -122,7 +122,7 @@ print <
$Lang::tr{'fireinfo your profile id'}: |
- $profile_id
+ $profile_id
|
diff --git a/html/cgi-bin/logs.cgi/calamaris.dat b/html/cgi-bin/logs.cgi/calamaris.dat
index 07fdf8a880..01740781f8 100644
--- a/html/cgi-bin/logs.cgi/calamaris.dat
+++ b/html/cgi-bin/logs.cgi/calamaris.dat
@@ -255,7 +255,7 @@ END
if (-e "$sargdir/today") {
print <
- $Lang::tr{'proxy reports today'}
+ $Lang::tr{'proxy reports today'}
END
} else {
@@ -270,7 +270,7 @@ END
if (-e "$sargdir/daily") {
print <
- $Lang::tr{'proxy reports daily'}
+ $Lang::tr{'proxy reports daily'}
END
} else {
@@ -285,7 +285,7 @@ END
if (-e "$sargdir/weekly") {
print <
- $Lang::tr{'proxy reports weekly'}
+ $Lang::tr{'proxy reports weekly'}
END
} else {
@@ -300,7 +300,7 @@ END
if (-e "$sargdir/monthly") {
print <
- $Lang::tr{'proxy reports monthly'}
+ $Lang::tr{'proxy reports monthly'}
END
} else {
diff --git a/html/cgi-bin/proxy.cgi b/html/cgi-bin/proxy.cgi
index b639640817..2e3efbbb70 100644
--- a/html/cgi-bin/proxy.cgi
+++ b/html/cgi-bin/proxy.cgi
@@ -1363,7 +1363,7 @@ print <
- $Lang::tr{'advproxy wpad view pac'}: http://$ENV{SERVER_ADDR}:81/wpad.dat |
+ $Lang::tr{'advproxy wpad view pac'}: http://$ENV{SERVER_ADDR}:81/wpad.dat |
|
diff --git a/html/html/clwarn.cgi b/html/html/clwarn.cgi
index 44f7f98abc..e7db81bb99 100755
--- a/html/html/clwarn.cgi
+++ b/html/html/clwarn.cgi
@@ -110,7 +110,7 @@ print <
Web Filtering by
-
+
IPFire
diff --git a/html/html/redirect-templates/legacy/template.html b/html/html/redirect-templates/legacy/template.html
index 297561e3a7..734858bcd8 100644
--- a/html/html/redirect-templates/legacy/template.html
+++ b/html/html/redirect-templates/legacy/template.html
@@ -51,7 +51,7 @@
Web Filtering by
-
+
IPFire
diff --git a/html/html/themes/ipfire/include/functions.pl b/html/html/themes/ipfire/include/functions.pl
index ed88cc5fbc..275daf07e7 100644
--- a/html/html/themes/ipfire/include/functions.pl
+++ b/html/html/themes/ipfire/include/functions.pl
@@ -208,8 +208,8 @@ ()