From: Fomafix Date: Tue, 27 Sep 2016 18:13:00 +0000 (+0200) Subject: Use HTTPS instead of HTTP for ietf.org URLs X-Git-Tag: 1.31.0-rc.0~5291^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=5d184743f9cdda5224065af6088c0356be09d37c;p=lhc%2Fweb%2Fwiklou.git Use HTTPS instead of HTTP for ietf.org URLs http://tools.ietf.org/ redirects to https://tools.ietf.org/ Change-Id: Ia45d2ce80399e1c9172e0924abd6bf794a53122f --- diff --git a/includes/Sanitizer.php b/includes/Sanitizer.php index 8f1fc99fcd..c81c7bba01 100644 --- a/includes/Sanitizer.php +++ b/includes/Sanitizer.php @@ -1867,7 +1867,7 @@ class Sanitizer { list( /* $whole */, $protocol, $host, $rest ) = $matches; // Characters that will be ignored in IDNs. - // http://tools.ietf.org/html/3454#section-3.1 + // https://tools.ietf.org/html/rfc3454#section-3.1 // Strip them before further processing so blacklists and such work. $strip = "/ \\s| # general whitespace diff --git a/resources/src/mediawiki/mediawiki.util.js b/resources/src/mediawiki/mediawiki.util.js index 294b5de179..866f213bd9 100644 --- a/resources/src/mediawiki/mediawiki.util.js +++ b/resources/src/mediawiki/mediawiki.util.js @@ -387,7 +387,7 @@ // - atext : defined in RFC 5322 section 3.2.3 // - ldh-str : defined in RFC 1034 section 3.5 // - // (see STD 68 / RFC 5234 http://tools.ietf.org/html/std68) + // (see STD 68 / RFC 5234 https://tools.ietf.org/html/std68) // First, define the RFC 5322 'atext' which is pretty easy: // atext = ALPHA / DIGIT / ; Printable US-ASCII // "!" / "#" / ; characters not including diff --git a/tests/phpunit/includes/GlobalFunctions/wfBCP47Test.php b/tests/phpunit/includes/GlobalFunctions/wfBCP47Test.php index c76666d36d..8fbca6cfe3 100644 --- a/tests/phpunit/includes/GlobalFunctions/wfBCP47Test.php +++ b/tests/phpunit/includes/GlobalFunctions/wfBCP47Test.php @@ -11,7 +11,7 @@ class WfBCP47Test extends MediaWikiTestCase { * This test is used to verify our formatting against all lower and * all upper cases language code. * - * @see http://tools.ietf.org/html/bcp47 + * @see https://tools.ietf.org/html/bcp47 * @dataProvider provideLanguageCodes() */ public function testBCP47( $code, $expected ) { diff --git a/tests/phpunit/includes/utils/MWCryptHKDFTest.php b/tests/phpunit/includes/utils/MWCryptHKDFTest.php index fafd4fa18e..760d41e86c 100644 --- a/tests/phpunit/includes/utils/MWCryptHKDFTest.php +++ b/tests/phpunit/includes/utils/MWCryptHKDFTest.php @@ -37,7 +37,7 @@ class MWCryptHKDFTest extends MediaWikiTestCase { } /** - * Test vectors from Appendix A on http://tools.ietf.org/html/rfc5869 + * Test vectors from Appendix A on https://tools.ietf.org/html/rfc5869 */ public static function providerRfc5869() {