Use HTTPS everywhere (mechanical edit using util from https-everywhere) (#4534)

This commit is contained in:
Robin Schneider 2021-03-08 20:04:45 +01:00 committed by Ad Schellevis
parent 93fc88741a
commit fcb6eaa9de
14 changed files with 20 additions and 20 deletions

View File

@ -36,7 +36,7 @@ License
OPNsense is and will always be available under the 2-Clause BSD license:
http://opensource.org/licenses/BSD-2-Clause
https://opensource.org/licenses/BSD-2-Clause
Every contribution made to the project must be licensed under the
same conditions in order to keep OPNsense truly free and accessible

View File

@ -18,7 +18,7 @@
* @copyright 2003-2005 The PHP Group
* @license BSD License http://www.opensource.org/licenses/bsd-license.php
* @version CVS: $Id$
* @link http://pear.php.net/package/Net_IPv6
* @link https://pear.php.net/package/Net_IPv6
*/
// {{{ constants
@ -116,7 +116,7 @@ define("NET_IPV6_UNKNOWN_TYPE", 1001);
* @copyright 2003-2010 The PHP Group
* @license BSD License http://www.opensource.org/licenses/bsd-license.php
* @version Release: 1.1.0RC5
* @link http://pear.php.net/package/Net_IPv6
* @link https://pear.php.net/package/Net_IPv6
*/
class Net_IPv6
{

View File

@ -178,7 +178,7 @@ class SettingsController extends ApiMutableModelControllerBase
substr($ref, 8), $item_html);
$item_html = str_replace("%ref%", "bugtraq " . substr($ref, 8), $item_html);
} elseif (substr($ref, 0, 4) == "cve,") {
$item_html = str_replace("%url%", "http://cve.mitre.org/cgi-bin/cvename.cgi?name=" .
$item_html = str_replace("%url%", "https://cve.mitre.org/cgi-bin/cvename.cgi?name=" .
substr($ref, 4), $item_html);
$item_html = str_replace("%ref%", substr($ref, 4), $item_html);
} elseif (substr($ref, 0, 7) == "nessus,") {

View File

@ -1,7 +1,7 @@
# Help functions for compatibility between python version 2 and 3
# From http://legacy.python.org/dev/peps/pep-0469
# From https://legacy.python.org/dev/peps/pep-0469
try:
dict.iteritems
except AttributeError:

View File

@ -39,7 +39,7 @@ if __name__ == '__main__':
parser = argparse.ArgumentParser()
parser.add_argument('--format', help='format',choices=['full', 'key_value'], default='full')
inputargs = parser.parse_args()
# source http://www.iana.org/assignments/tls-parameters/tls-parameters-4.csv
# source https://www.iana.org/assignments/tls-parameters/tls-parameters-4.csv
rfc5246_file = '%s/rfc5246_cipher_suites.csv' % os.path.dirname(os.path.realpath(__file__))
rfc5246 = dict()
if os.path.isfile(rfc5246_file):

View File

@ -2,9 +2,9 @@
config reference: bugtraq http://www.securityfocus.com/bid/
config reference: bid http://www.securityfocus.com/bid/
config reference: cve http://cve.mitre.org/cgi-bin/cvename.cgi?name=
#config reference: cve http://cvedetails.com/cve/
config reference: secunia http://www.secunia.com/advisories/
config reference: cve https://cve.mitre.org/cgi-bin/cvename.cgi?name=
#config reference: cve https://cvedetails.com/cve/
config reference: secunia https://secunia.com/advisories/
#whitehats is unfortunately gone
config reference: arachNIDS http://www.whitehats.com/info/IDS
@ -21,6 +21,6 @@ config reference: md5 http://www.threatexpert.com/report.aspx?md5=
config reference: exploitdb http://www.exploit-db.com/exploits/
config reference: openpacket https://www.openpacket.org/capture/grab/
config reference: securitytracker http://securitytracker.com/id?
config reference: secunia http://secunia.com/advisories/
config reference: secunia https://secunia.com/advisories/
config reference: xforce http://xforce.iss.net/xforce/xfdb/
config reference: msft http://technet.microsoft.com/security/bulletin/
config reference: msft https://technet.microsoft.com/security/bulletin/

View File

@ -367,7 +367,7 @@ include("fbegin.inc");
<td>
<input name="promiscuous" type="checkbox" <?= !empty($pconfig['promiscuous']) ? " checked=\"checked\"" : ""; ?> />
<div class="hidden" data-for="help_for_promiscuous">
<?=gettext("If checked, the");?> <a target="_blank" href="http://www.freebsd.org/cgi/man.cgi?query=tcpdump&amp;apropos=0&amp;sektion=0&amp;manpath=FreeBSD+8.3-stable&amp;arch=default&amp;format=html"><?= gettext("packet capture")?></a> <?= gettext("will be performed using promiscuous mode.");?>
<?=gettext("If checked, the");?> <a target="_blank" href="https://www.freebsd.org/cgi/man.cgi?query=tcpdump&amp;apropos=0&amp;sektion=0&amp;manpath=FreeBSD+8.3-stable&amp;arch=default&amp;format=html"><?= gettext("packet capture")?></a> <?= gettext("will be performed using promiscuous mode.");?>
<br /><b><?=gettext("Note");?>: </b><?=gettext("Some network adapters do not support or work well in promiscuous mode.");?>
</div>
</td>

View File

@ -2138,7 +2138,7 @@ include("head.inc");
</label>
</div>
<div class="hidden" data-for="help_for_dhcpprotocol_timing">
<?=sprintf(gettext("The values in these fields are DHCP %sprotocol timings%s used when requesting a lease."),'<a target="_blank" href="http://www.freebsd.org/cgi/man.cgi?query=dhclient.conf&amp;sektion=5#PROTOCOL_TIMING">','</a>') ?>
<?=sprintf(gettext("The values in these fields are DHCP %sprotocol timings%s used when requesting a lease."),'<a target="_blank" href="https://www.freebsd.org/cgi/man.cgi?query=dhclient.conf&amp;sektion=5#PROTOCOL_TIMING">','</a>') ?>
</div>
</td>
</tr>
@ -2146,7 +2146,7 @@ include("head.inc");
<td><a id="help_for_dhcp_lease_requirements_and_requests" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Lease Requirements");?> </td>
<td>
<div class="hidden" data-for="help_for_dhcp_lease_requirements_and_requests">
<?=sprintf(gettext("More detailed information about lease requirements and requests can be found in the %sFreeBSD Manual%s."),'<a target="FreeBSD_DHCP" href="http://www.freebsd.org/cgi/man.cgi?query=dhclient.conf&amp;sektion=5#LEASE_REQUIREMENTS_AND_REQUESTS">','</a>')?><br/>
<?=sprintf(gettext("More detailed information about lease requirements and requests can be found in the %sFreeBSD Manual%s."),'<a target="FreeBSD_DHCP" href="https://www.freebsd.org/cgi/man.cgi?query=dhclient.conf&amp;sektion=5#LEASE_REQUIREMENTS_AND_REQUESTS">','</a>')?><br/>
<hr/>
</div>
<?=gettext("Send Options"); ?><br />

View File

@ -1143,7 +1143,7 @@ include("head.inc");
</tfoot>
</table>
<div class="hidden" data-for="help_for_numberoptions">
<?= sprintf(gettext("Enter the DHCP option number and the value for each item you would like to include in the DHCP lease information. For a list of available options please visit this %sURL%s."), '<a href="http://www.iana.org/assignments/bootp-dhcp-parameters/" target="_blank">', '</a>') ?>
<?= sprintf(gettext("Enter the DHCP option number and the value for each item you would like to include in the DHCP lease information. For a list of available options please visit this %sURL%s."), '<a href="https://www.iana.org/assignments/bootp-dhcp-parameters/" target="_blank">', '</a>') ?>
</div>
</div>
</td>

View File

@ -750,7 +750,7 @@ if (isset($config['interfaces'][$if]['dhcpd6track6allowoverride'])) {
</tfoot>
</table>
<div class="hidden" data-for="help_for_numberoptions">
<?= sprintf(gettext("Enter the DHCP option number and the value for each item you would like to include in the DHCP lease information. For a list of available options please visit this %sURL%s."),'<a href="http://www.iana.org/assignments/bootp-dhcp-parameters/" target="_blank">','</a>') ?>
<?= sprintf(gettext("Enter the DHCP option number and the value for each item you would like to include in the DHCP lease information. For a list of available options please visit this %sURL%s."),'<a href="https://www.iana.org/assignments/bootp-dhcp-parameters/" target="_blank">','</a>') ?>
</div>
</div>
</td>

View File

@ -147,7 +147,7 @@ include 'head.inc';
'Enabling the OpenDNS service will overwrite DNS servers configured ' .
'via the General Setup page as well as ignore any DNS servers learned ' .
'by DHCP/PPP on WAN and use the DNS servers from %s instead.'),
'<a href="http://www.opendns.com" target="_blank">OpenDNS.com</a>'
'<a href="https://www.opendns.com/" target="_blank">OpenDNS.com</a>'
) ?>
</div>
</td>

View File

@ -280,7 +280,7 @@ include("head.inc");
</tr>
<?php if (isset($gps_lon) && isset($gps_lat)): ?>
<tr>
<td colspan="<?= html_safe($gps_goo_lnk) ?>"><a target="_gmaps" href="http://maps.google.com/?q=<?= html_safe($gps_lat) ?>,<?= html_safe($gps_lon) ?>">Google Maps Link</a></td>
<td colspan="<?= html_safe($gps_goo_lnk) ?>"><a target="_gmaps" href="https://maps.google.com/?q=<?= html_safe($gps_lat) ?>,<?= html_safe($gps_lon) ?>">Google Maps Link</a></td>
</tr>
<?php endif ?>
</tbody>

View File

@ -141,7 +141,7 @@ include("head.inc");
<?= sprintf(gettext('pfsync transfers state insertion, update, and deletion messages between firewalls.%s' .
'Each firewall sends these messages out via multicast on a specified interface, using the PFSYNC protocol (%sIP Protocol 240%s).%s' .
'It also listens on that interface for similar messages from other firewalls, and imports them into the local state table.%s' .
'This setting should be enabled on all members of a failover group.'), '<br/>','<a href="http://www.openbsd.org/faq/pf/carp.html" target="_blank">','</a>','<br/>','<br/>') ?>
'This setting should be enabled on all members of a failover group.'), '<br/>','<a href="https://www.openbsd.org/faq/pf/carp.html" target="_blank">','</a>','<br/>','<br/>') ?>
<div class="well well-sm" ><b><?=gettext('Clicking save will force a configuration sync if it is enabled! (see Configuration Synchronization Settings below)') ?></b></div>
</div>
</td>

View File

@ -150,7 +150,7 @@ endif; ?>
<tr>
<td style="width:40%"><?= gettext('Clock location') ?></td>
<td style="width:60%">
<a target="_gmaps" href="http://maps.google.com/?q=<?= html_safe($gps_lat) ?>,<?= html_safe($gps_lon) ?>">
<a target="_gmaps" href="https://maps.google.com/?q=<?= html_safe($gps_lat) ?>,<?= html_safe($gps_lon) ?>">
<?php
echo sprintf("%.5f", $gps_lat) . " " . $gps_la . ", " . sprintf("%.5f", $gps_lon) . " " . $gps_lo; ?>
</a>