Skip to content

Commit

Permalink
add rel=nopener to all links that contain target=blank https://develo…
Browse files Browse the repository at this point in the history
  • Loading branch information
dominictayloruk committed Aug 19, 2019
1 parent e3effd8 commit 3396673
Show file tree
Hide file tree
Showing 23 changed files with 47 additions and 47 deletions.
2 changes: 1 addition & 1 deletion doc/language_issues.en
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="https://wiki.ipfire.org/configuration/network/proxy/extend/wpad" target="_blank">Wiki</a>.
WARNING: untranslated string: advproxy wpad notice = Notice: For WPAD/PAC to work properly, furtcher changes need to be made. Please see the <a href="https://wiki.ipfire.org/configuration/network/proxy/extend/wpad" target="_blank" rel="noopener">Wiki</a>.
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
Expand Down
2 changes: 1 addition & 1 deletion doc/language_issues.es
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="https://wiki.ipfire.org/configuration/network/proxy/extend/wpad" target="_blank">Wiki</a>.
WARNING: untranslated string: advproxy wpad notice = Notice: For WPAD/PAC to work properly, furtcher changes need to be made. Please see the <a href="https://wiki.ipfire.org/configuration/network/proxy/extend/wpad" target="_blank" rel="noopener">Wiki</a>.
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
Expand Down
2 changes: 1 addition & 1 deletion doc/language_issues.it
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="https://wiki.ipfire.org/configuration/network/proxy/extend/wpad" target="_blank">Wiki</a>.
WARNING: untranslated string: advproxy wpad notice = Notice: For WPAD/PAC to work properly, furtcher changes need to be made. Please see the <a href="https://wiki.ipfire.org/configuration/network/proxy/extend/wpad" target="_blank" rel="noopener">Wiki</a>.
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
Expand Down
2 changes: 1 addition & 1 deletion doc/language_issues.nl
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="https://wiki.ipfire.org/configuration/network/proxy/extend/wpad" target="_blank">Wiki</a>.
WARNING: untranslated string: advproxy wpad notice = Notice: For WPAD/PAC to work properly, furtcher changes need to be made. Please see the <a href="https://wiki.ipfire.org/configuration/network/proxy/extend/wpad" target="_blank" rel="noopener">Wiki</a>.
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
Expand Down
2 changes: 1 addition & 1 deletion doc/language_issues.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="https://wiki.ipfire.org/configuration/network/proxy/extend/wpad" target="_blank">Wiki</a>.
WARNING: untranslated string: advproxy wpad notice = Notice: For WPAD/PAC to work properly, furtcher changes need to be made. Please see the <a href="https://wiki.ipfire.org/configuration/network/proxy/extend/wpad" target="_blank" rel="noopener">Wiki</a>.
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
Expand Down
2 changes: 1 addition & 1 deletion doc/language_issues.ru
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="https://wiki.ipfire.org/configuration/network/proxy/extend/wpad" target="_blank">Wiki</a>.
WARNING: untranslated string: advproxy wpad notice = Notice: For WPAD/PAC to work properly, furtcher changes need to be made. Please see the <a href="https://wiki.ipfire.org/configuration/network/proxy/extend/wpad" target="_blank" rel="noopener">Wiki</a>.
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
Expand Down
2 changes: 1 addition & 1 deletion doc/language_issues.tr
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="https://wiki.ipfire.org/configuration/network/proxy/extend/wpad" target="_blank">Wiki</a>.
WARNING: untranslated string: advproxy wpad notice = Notice: For WPAD/PAC to work properly, furtcher changes need to be made. Please see the <a href="https://wiki.ipfire.org/configuration/network/proxy/extend/wpad" target="_blank" rel="noopener">Wiki</a>.
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
Expand Down
4 changes: 2 additions & 2 deletions html/cgi-bin/credits.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ END
print <<END
<br>
<center>
$Lang::tr{'visit us at'}: <b><a href='https://www.ipfire.org/' target="_blank">https://www.ipfire.org/</a></b>
$Lang::tr{'visit us at'}: <b><a href='https://www.ipfire.org/' target="_blank" rel="noopener">https://www.ipfire.org/</a></b>
</center>
<br><br>
Expand Down Expand Up @@ -147,7 +147,7 @@ END
print <<END
<p>
This product includes GeoLite data created by MaxMind, available from
<a href='http://www.maxmind.com/' target="_blank">http://www.maxmind.com/</a>.
<a href='http://www.maxmind.com/' target="_blank" rel="noopener">http://www.maxmind.com/</a>.
</p>
END
;
Expand Down
2 changes: 1 addition & 1 deletion html/cgi-bin/dns.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ print <<END
<table border="0" width='100%'>
<tr>
<td colspan="2"><font class='base'>$Lang::tr{'dns desc'}<br /><img src="/images/dns_link.png" border="0" align="absmiddle"/><a href="http://wiki.ipfire.org/en/dns/public-servers" target="_blank">$Lang::tr{'dns list'}</a></font></td>
<td colspan="2"><font class='base'>$Lang::tr{'dns desc'}<br /><img src="/images/dns_link.png" border="0" align="absmiddle"/><a href="http://wiki.ipfire.org/en/dns/public-servers" target="_blank" rel="noopener">$Lang::tr{'dns list'}</a></font></td>
</tr>
<tr>
<td colspan="2">&nbsp;</td>
Expand Down
4 changes: 2 additions & 2 deletions html/cgi-bin/fireinfo.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ if ($fireinfosettings{'ENABLE_FIREINFO'} ne "on") {
<font color="$Header::colourred">
<p>
$Lang::tr{'fireinfo why descr1'}
$Lang::tr{'fireinfo why descr2'}<a href="https://fireinfo.ipfire.org" target="_blank">$Lang::tr{'fireinfo why read more'}</a>
$Lang::tr{'fireinfo why descr2'}<a href="https://fireinfo.ipfire.org" target="_blank" rel="noopener">$Lang::tr{'fireinfo why read more'}</a>
</p>
</font>
END
Expand Down Expand Up @@ -122,7 +122,7 @@ print <<END;
<tr>
<td>$Lang::tr{'fireinfo your profile id'}:</td>
<td>
<a href="https://fireinfo.ipfire.org/profile/$profile_id" target="_blank">$profile_id</a>
<a href="https://fireinfo.ipfire.org/profile/$profile_id" target="_blank" rel="noopener">$profile_id</a>
</td>
</tr>
<tr>
Expand Down
8 changes: 4 additions & 4 deletions html/cgi-bin/logs.cgi/calamaris.dat
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ END
if (-e "$sargdir/today") {
print <<END;
<td width="25%" align="center">
<a href="/proxy-reports/today" target="_blank">$Lang::tr{'proxy reports today'}</a>
<a href="/proxy-reports/today" target="_blank" rel="noopener">$Lang::tr{'proxy reports today'}</a>
</td>
END
} else {
Expand All @@ -270,7 +270,7 @@ END
if (-e "$sargdir/daily") {
print <<END;
<td width="25%" align="center">
<a href="/proxy-reports/daily" target="_blank">$Lang::tr{'proxy reports daily'}</a>
<a href="/proxy-reports/daily" target="_blank" rel="noopener">$Lang::tr{'proxy reports daily'}</a>
</td>
END
} else {
Expand All @@ -285,7 +285,7 @@ END
if (-e "$sargdir/weekly") {
print <<END;
<td width="25%" align="center">
<a href="/proxy-reports/weekly" target="_blank">$Lang::tr{'proxy reports weekly'}</a>
<a href="/proxy-reports/weekly" target="_blank" rel="noopener">$Lang::tr{'proxy reports weekly'}</a>
</td>
END
} else {
Expand All @@ -300,7 +300,7 @@ END
if (-e "$sargdir/monthly") {
print <<END;
<td width="25%" align="center">
<a href="/proxy-reports/monthly" target="_blank">$Lang::tr{'proxy reports monthly'}</a>
<a href="/proxy-reports/monthly" target="_blank" rel="noopener">$Lang::tr{'proxy reports monthly'}</a>
</td>
END
} else {
Expand Down
2 changes: 1 addition & 1 deletion html/cgi-bin/proxy.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -1363,7 +1363,7 @@ print <<END
<td colspan="4">&nbsp;</td>
</tr>
<tr>
<td colspan="4">$Lang::tr{'advproxy wpad view pac'}: <a href="http://$ENV{SERVER_ADDR}:81/wpad.dat" target="_blank">http://$ENV{SERVER_ADDR}:81/wpad.dat</a></td>
<td colspan="4">$Lang::tr{'advproxy wpad view pac'}: <a href="http://$ENV{SERVER_ADDR}:81/wpad.dat" target="_blank" rel="noopener">http://$ENV{SERVER_ADDR}:81/wpad.dat</a></td>
</tr>
<tr>
<td colspan="4">&nbsp;</td>
Expand Down
2 changes: 1 addition & 1 deletion html/html/clwarn.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ print <<END
<td colspan='3' height='60%' valign="bottom" align="right">
<font face="verdana,arial,sans serif" color="#656565" size="1">Web Filtering by
</font>
<a href="http://www.ipfire.org" target="_blank"><b>
<a href="http://www.ipfire.org" target="_blank" rel="noopener"><b>
<font face="verdana,arial,sans serif" color="#656565" size="1">IPFire</b></a>
</font>
Expand Down
2 changes: 1 addition & 1 deletion html/html/redirect-templates/legacy/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<font face="verdana,arial,sans serif" color="#656565" size="1">
Web Filtering by
</font>
<a href="http://www.ipfire.org" target="_blank">
<a href="http://www.ipfire.org" target="_blank" rel="noopener">
<font face="verdana,arial,sans serif" color="#656565" size="1"><b>IPFire</b></font>
</a>

Expand Down
4 changes: 2 additions & 2 deletions html/html/themes/ipfire/include/functions.pl
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,8 @@ ()
<div id="footer" class='bigbox fixed'>
<span class="pull-right">
<a href="https://www.ipfire.org/" target="_blank"><strong>IPFire.org</strong></a> &bull;
<a href="https://www.ipfire.org/donate" target="_blank">$Lang::tr{'support donation'}</a>
<a href="https://www.ipfire.org/" target="_blank" rel="noopener"><strong>IPFire.org</strong></a> &bull;
<a href="https://www.ipfire.org/donate" target="_blank" rel="noopener">$Lang::tr{'support donation'}</a>
</span>
<strong>$system_release</strong>
Expand Down
6 changes: 3 additions & 3 deletions langs/de/cgi-bin/de.pl
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@
'advproxy wpad example dst_noproxy_url' => 'z.B. *.ipfire.org*',
'advproxy wpad label dst_noproxy_ip' => 'Ausgenommene IP-Subnetze (eins pro Zeile)',
'advproxy wpad label dst_noproxy_url' => 'Ausgenommene URLs (eine pro Zeile)',
'advproxy wpad notice' => 'Hinweis: Damit WPAD / PAC korrekt funktioniert, sind weitere Anpassungen erforderlich. Bitte in das <a href="https://wiki.ipfire.org/configuration/network/proxy/extend/wpad" target="_blank">Wiki</a> schauen.',
'advproxy wpad notice' => 'Hinweis: Damit WPAD / PAC korrekt funktioniert, sind weitere Anpassungen erforderlich. Bitte in das <a href="https://wiki.ipfire.org/configuration/network/proxy/extend/wpad" target="_blank" rel="noopener">Wiki</a> schauen.',
'advproxy wpad title' => 'Web Proxy Auto-Discovery Protocol (WPAD) / Proxy Auto-Config (PAC)',
'advproxy wpad view pac' => 'PAC-Datei aufrufen',
'again' => 'Wiederholung:',
Expand Down Expand Up @@ -2500,7 +2500,7 @@
'updxlrtr total files' => 'Gesamtanzahl Dateien im Cache',
'updxlrtr unknown' => 'Unbekannt',
'updxlrtr update accelerator' => 'Update-Accelerator',
'updxlrtr update information' => 'Eine aktualisierte Version steht zum Download bereit. Besuchen Sie <a href="http://update-accelerator.advproxy.net" target="_blank">http://update-accelerator.advproxy.net</a> für weitere Informationen.',
'updxlrtr update information' => 'Eine aktualisierte Version steht zum Download bereit. Besuchen Sie <a href="http://update-accelerator.advproxy.net" target="_blank" rel="noopener">http://update-accelerator.advproxy.net</a> für weitere Informationen.',
'updxlrtr update notification' => 'Update-Benachrichtigung!',
'updxlrtr web proxy service required' => 'Der Web-Proxy muss aktiviert sein, um den Update-Accelerator zu verwenden',
'updxlrtr week' => 'einer Woche',
Expand Down Expand Up @@ -2700,7 +2700,7 @@
'urlfilter tue' => 'D',
'urlfilter tuesday' => 'Di',
'urlfilter unfiltered clients' => 'Ungefilterte IP-Adressen',
'urlfilter update information' => 'Eine aktualisierte Version steht zum Download bereit. Besuchen Sie <a href="http://www.urlfilter.net" target="_blank">http://www.urlfilter.net</a> für weitere Informationen.',
'urlfilter update information' => 'Eine aktualisierte Version steht zum Download bereit. Besuchen Sie <a href="http://www.urlfilter.net" target="_blank" rel="noopener">http://www.urlfilter.net</a> für weitere Informationen.',
'urlfilter update notification' => 'Update-Benachrichtigung!',
'urlfilter update now' => 'Jetzt updaten',
'urlfilter update results' => 'Blacklist-Aktualisierungsergebnisse',
Expand Down
8 changes: 4 additions & 4 deletions langs/en/cgi-bin/en.pl
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@
'advproxy unrestricted ip clients' => 'Unrestricted IP addresses (one per line)',
'advproxy unrestricted mac clients' => 'Unrestricted MAC addresses (one per line)',
'advproxy update accelerator' => 'Update accelerator',
'advproxy update information' => 'There is an updated version available for download. Visit <a href="http://www.advproxy.net" target="_blank">http://www.advproxy.net</a> for more information.',
'advproxy update information' => 'There is an updated version available for download. Visit <a href="http://www.advproxy.net" target="_blank" rel="noopener">http://www.advproxy.net</a> for more information.',
'advproxy update notification' => 'Update notification!',
'advproxy upstream password' => 'Upstream password',
'advproxy upstream proxy' => 'Upstream proxy',
Expand All @@ -402,7 +402,7 @@
'advproxy wpad example dst_noproxy_url' => 'e.g. *.ipfire.org*',
'advproxy wpad label dst_noproxy_ip' => 'Excluded IP Subnets (one per line)',
'advproxy wpad label dst_noproxy_url' => 'Excluded URL s (one per line)',
'advproxy wpad notice' => 'Notice: For WPAD/PAC to work properly, furtcher changes need to be made. Please see the <a href="https://wiki.ipfire.org/configuration/network/proxy/extend/wpad" target="_blank">Wiki</a>.',
'advproxy wpad notice' => 'Notice: For WPAD/PAC to work properly, furtcher changes need to be made. Please see the <a href="https://wiki.ipfire.org/configuration/network/proxy/extend/wpad" target="_blank" rel="noopener">Wiki</a>.',
'advproxy wpad title' => 'Web Proxy Auto-Discovery Protocol (WPAD) / Proxy Auto-Config (PAC)',
'advproxy wpad view pac' => 'Open PAC File',
'again' => 'Again:',
Expand Down Expand Up @@ -2543,7 +2543,7 @@
'updxlrtr total files' => 'Total files in cache',
'updxlrtr unknown' => 'Unknown',
'updxlrtr update accelerator' => 'Update Accelerator',
'updxlrtr update information' => 'There is an updated version available for download. Visit <a href="http://update-accelerator.advproxy.net" target="_blank">http://update-accelerator.advproxy.net</a> for more information.',
'updxlrtr update information' => 'There is an updated version available for download. Visit <a href="http://update-accelerator.advproxy.net" target="_blank" rel="noopener">http://update-accelerator.advproxy.net</a> for more information.',
'updxlrtr update notification' => 'Update notification!',
'updxlrtr used by' => 'Used by',
'updxlrtr web proxy service required' => 'Web proxy service must be enabled to use Update Accelerator',
Expand Down Expand Up @@ -2745,7 +2745,7 @@
'urlfilter tue' => 'T',
'urlfilter tuesday' => 'Tue',
'urlfilter unfiltered clients' => 'Unfiltered IP addresses',
'urlfilter update information' => 'There is an updated version available for download. Visit <a href="http://www.urlfilter.net" target="_blank">http://www.urlfilter.net</a> for more information.',
'urlfilter update information' => 'There is an updated version available for download. Visit <a href="http://www.urlfilter.net" target="_blank" rel="noopener">http://www.urlfilter.net</a> for more information.',
'urlfilter update notification' => 'Update notification!',
'urlfilter update now' => 'Update now',
'urlfilter update results' => 'Blacklist update results',
Expand Down
Loading

0 comments on commit 3396673

Please sign in to comment.