From 2c7d73a317f5a7735dacf2c7bafe863e67831392 Mon Sep 17 00:00:00 2001 From: William Entriken Date: Thu, 16 Sep 2021 19:26:04 -0400 Subject: [PATCH] Upgrade some HTTP URLs to HTTPS if appropriate --- RFC/coding_standards | 4 +- TODO | 2 +- chm/chm_settings.php | 4 +- chm/make_chm.README | 4 +- configure.php | 4 +- docbook/docbook-xml/README | 2 +- docbook/docbook-xml/docbook.cat | 2 +- entities/global.ent | 478 +++++++++---------- htmlhelp/README.txt | 2 +- htmlhelp/make-xchm | 4 +- htmlhelp/suppfiles/html/_script.js | 8 +- htmlhelp/suppfiles/prefs/context.ini | 4 +- htmlhelp/suppfiles/prefs/php_manual_prefs.js | 2 +- install-unix.xml.in | 2 +- install-win.xml.in | 4 +- scripts/aspell.php | 2 +- scripts/build-chms-config.php | 6 +- scripts/build-chms-history.php | 2 +- scripts/build-chms.php | 2 +- scripts/check-examples.php | 4 +- scripts/check-trans-maint.php | 2 +- scripts/check-trans-params.php | 2 +- scripts/grep-files.php | 2 +- scripts/qa/check-grammar.php | 2 +- scripts/script-skel.php | 2 +- 25 files changed, 276 insertions(+), 276 deletions(-) diff --git a/RFC/coding_standards b/RFC/coding_standards index 3745e753a..f0ec24ff0 100644 --- a/RFC/coding_standards +++ b/RFC/coding_standards @@ -1,7 +1,7 @@ GENERAL: -References: http://pear.php.net/manual/en/standards.php - http://www.php.net/manual/howto/ +References: https://pear.php.net/manual/en/standards.php + https://www.php.net/manual/howto/ Examples need to be clear and simple, but should show the possibilities and usage of the functions used. Only use OOP features where you would like to diff --git a/TODO b/TODO index 37c6dea0e..99104e24c 100644 --- a/TODO +++ b/TODO @@ -39,4 +39,4 @@ GENERAL: example, make sure a function exists. BUGS - - Open: http://bit.ly/phpdocbugs + - Open: https://bit.ly/phpdocbugs diff --git a/chm/chm_settings.php b/chm/chm_settings.php index 7185990d7..44ca60074 100644 --- a/chm/chm_settings.php +++ b/chm/chm_settings.php @@ -4,8 +4,8 @@ // Array to manual code -> HTML Help Code conversion // Code list: http://www.helpware.net/htmlhelp/hh_info.htm // Charset list: http://www.microsoft.com/globaldev/nlsweb/default.asp -// Language code: http://www.unicode.org/unicode/onlinedat/languages.html -// MIME preferred charset list: http://www.iana.org/assignments/character-sets +// Language code: https://www.unicode.org/unicode/onlinedat/languages.html +// MIME preferred charset list: https://www.iana.org/assignments/character-sets // Font list: http://www.microsoft.com/office/ork/xp/three/inte03.htm $LANGUAGES = array( diff --git a/chm/make_chm.README b/chm/make_chm.README index 80adaa169..5e01bac7c 100644 --- a/chm/make_chm.README +++ b/chm/make_chm.README @@ -25,14 +25,14 @@ WHAT YOU NEED Microsoft(r) HTML Help Workshop. You can download it freely at: - http://msdn.microsoft.com/library/en-us/htmlhelp/html/vsconhh1start.asp + https://msdn.microsoft.com/library/en-us/htmlhelp/html/vsconhh1start.asp You need the complete workshop package install (about 4 Megs). Of course you need Microsoft(r) Windows to run that software :) The html manual. You have two alternatives: a) Download the actual html manual from - http://www.php.net/download-docs.php + https://www.php.net/download-docs.php and untar the distribution into a directory b) Build the html manual yourself using Jade and the other tools needed (look into the HOWTO to see how to build it yourself) diff --git a/configure.php b/configure.php index 313c150aa..ed6ffe64f 100755 --- a/configure.php +++ b/configure.php @@ -10,7 +10,7 @@ | This source file is subject to version 3.0 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | | available through the world-wide-web at the following url: | - | http://www.php.net/license/3_0.txt. | + | https://www.php.net/license/3_0.txt. | | If you did not receive a copy of the PHP license and are unable to | | obtain it through the world-wide-web, please send a note to | | license@php.net so we can mail you a copy immediately. | @@ -503,7 +503,7 @@ function generate_sources_file() // {{{ // Reject 'old' LibXML installations, due to LibXML feature #502960 {{{ if (version_compare(LIBXML_DOTTED_VERSION, '2.7.4', '<') && $ac['LIBXML_CHECK'] === 'yes') { echo "LibXML 2.7.4+ added a 'feature' to break things, typically namespace related, and unfortunately we must require it.\n"; - echo "For a few related details, see: http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg777646.html\n"; + echo "For a few related details, see: https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg777646.html\n"; echo "Please recompile PHP with a LibXML version 2.7.4 or greater. Version detected: " . LIBXML_DOTTED_VERSION . "\n"; echo "Or, pass in --disable-libxml-check if doing so feels safe.\n\n"; #exit(100); diff --git a/docbook/docbook-xml/README b/docbook/docbook-xml/README index 6fc60c4bf..0047c0c7b 100644 --- a/docbook/docbook-xml/README +++ b/docbook/docbook-xml/README @@ -2,7 +2,7 @@ README for the DocBook XML DTD For more information about DocBook, please see - http://www.oasis-open.org/docbook/ + https://www.oasis-open.org/docbook/ Please send all questions, comments, concerns, and bug reports to the DocBook mailing list: docbook@lists.oasis-open.org diff --git a/docbook/docbook-xml/docbook.cat b/docbook/docbook-xml/docbook.cat index 25ac4dff0..f5b779adb 100644 --- a/docbook/docbook-xml/docbook.cat +++ b/docbook/docbook-xml/docbook.cat @@ -4,7 +4,7 @@ -- Please direct all questions, bug reports, or suggestions for changes to the docbook@lists.oasis-open.org mailing list. For more - information, see http://www.oasis-open.org/. + information, see https://www.oasis-open.org/. -- -- This is the catalog data file for DocBook XML V4.5. It is provided as diff --git a/entities/global.ent b/entities/global.ent index fc08f234b..caad49bc2 100644 --- a/entities/global.ent +++ b/entities/global.ent @@ -5,18 +5,18 @@ Contains global "macros" for all the XML documents. --> - + - - - - - - - - - - + + + + + + + + + + @@ -29,45 +29,45 @@ - + - + - - - - - + + + + + - + - - - + + + - + - + - + - - - - - + + + + + - - - - - - - + + + + + + + @@ -79,11 +79,11 @@ - - - + + + - + @@ -91,132 +91,132 @@ - - - - - - - - + + + + + + + + - - + + - - + + - + - - - + + + - - + + - - + + - - - + + + - - - - + + + + - + - + - + - - + + - - + + - - - - + + + + - + - - - + + + - + - - - - - - + + + + + + - + - + - - + + - + - + - - + + - + - - + + - - - - - - + + + + + + - + - + @@ -271,41 +271,41 @@ - - + + - - - + + + - + - - - - - - - - - - - - + + + + + + + + + + + + - + - - + + - - - - - - + + + + + + @@ -320,11 +320,11 @@ - - - + + + - + @@ -336,8 +336,8 @@ - - + + @@ -352,7 +352,7 @@ - + @@ -362,40 +362,40 @@ - + - + - - + + - - - + + + - + - + - - + + - + - - - + + + @@ -403,119 +403,119 @@ - - + + - + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - + + - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - + - - + + - - - - - - - + + + + + + + - - - - + + + + - - - - + + + + - + - + - - + + - + - - - - + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + @@ -538,8 +538,8 @@ PECL'> - - + + true'> diff --git a/htmlhelp/README.txt b/htmlhelp/README.txt index ccccbeafe..578da6e11 100644 --- a/htmlhelp/README.txt +++ b/htmlhelp/README.txt @@ -12,7 +12,7 @@ Build system of the extended CHMs ================================= [See latest "official" output package online at - http://php.net/docs-echm] + https://php.net/docs-echm] How to build a CHM manual with this system? diff --git a/htmlhelp/make-xchm b/htmlhelp/make-xchm index e513f152e..8eaedaa00 100755 --- a/htmlhelp/make-xchm +++ b/htmlhelp/make-xchm @@ -11,8 +11,8 @@ make chm_xsl cd htmlhelp rm -f mirrors.inc all -wget http://php.net/include/mirrors.inc -wget http://php.net/backend/notes/all.bz2 +wget https://php.net/include/mirrors.inc +wget https://php.net/backend/notes/all.bz2 bunzip2 all.bz2 ./make_chm.bat diff --git a/htmlhelp/suppfiles/html/_script.js b/htmlhelp/suppfiles/html/_script.js index 2887a2044..b58da37a4 100644 --- a/htmlhelp/suppfiles/html/_script.js +++ b/htmlhelp/suppfiles/html/_script.js @@ -121,7 +121,7 @@ function bugOnPage() alert("You are in offline mode.\nThis functionality is not available"); } else { window.open( - "http://bugs.php.net/report.php?" + + "https://bugs.php.net/report.php?" + escape("in[php_version]") + "=earlier&" + escape("in[bug_type]") + "=Documentation%20problem&" + escape("in[php_os]") + "=windows&" + @@ -216,7 +216,7 @@ function contextMenuRewrite(first) case "_GoogleSearch_": if (prefs_online) { menuHTML += -'
' + 'Google
'; @@ -333,7 +333,7 @@ function contextParse(i) // Search for the selected text on Google case "searchSelGoogle": sel = contextGetSelection(); - if (sel != '') { window.open('http://www.google.com/search?q=' + escape(sel)); } + if (sel != '') { window.open('https://www.google.com/search?q=' + escape(sel)); } break; // Search for the selected text on AlltheWeb @@ -416,7 +416,7 @@ function contextMenu(e) contextMenuRewrite(false); // IE6+ is in standard compliant mode because of our !DOCTYPE - // [ http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/doctype.asp ] + // [ https://msdn.microsoft.com/workshop/author/dhtml/reference/objects/doctype.asp ] // so we need to use the "html" tag instead of the "body" to measure scrolled distance. // For older browsers, we need to use the body. if (ie_version_major >= 6) { delement = document.body.parentElement; } diff --git a/htmlhelp/suppfiles/prefs/context.ini b/htmlhelp/suppfiles/prefs/context.ini index 73cdb91c3..363acf2a0 100644 --- a/htmlhelp/suppfiles/prefs/context.ini +++ b/htmlhelp/suppfiles/prefs/context.ini @@ -50,11 +50,11 @@ implementation = "indexes.html" [context_item] display = "PHP-GTK home" -implementation = "http://gtk.php.net/" +implementation = "https://gtk.php.net/" [context_item] display = "PEAR home" -implementation = "http://pear.php.net/" +implementation = "https://pear.php.net/" # Search engine quickforms and selections # --------------------------------------- diff --git a/htmlhelp/suppfiles/prefs/php_manual_prefs.js b/htmlhelp/suppfiles/prefs/php_manual_prefs.js index 7c85064db..9a50c6b16 100644 --- a/htmlhelp/suppfiles/prefs/php_manual_prefs.js +++ b/htmlhelp/suppfiles/prefs/php_manual_prefs.js @@ -1,5 +1,5 @@ prefs_online = true; -prefs_mirror = "http://www.php.net/"; +prefs_mirror = "https://www.php.net/"; prefs_context_override = true; prefs_context_names = Array( "Manual TOC", diff --git a/install-unix.xml.in b/install-unix.xml.in index 359bdeacb..1e1d6fc8b 100644 --- a/install-unix.xml.in +++ b/install-unix.xml.in @@ -28,7 +28,7 @@ These installation instructions were generated from the HTML version of the PHP Manual so formatting and linking have been altered. See the - online and updated version at: http://php.net/install.unix + online and updated version at: https://php.net/install.unix &install.intro; diff --git a/install-win.xml.in b/install-win.xml.in index 2a7c567b6..14d6b2203 100644 --- a/install-win.xml.in +++ b/install-win.xml.in @@ -69,7 +69,7 @@ If CRT is already installed, the installer will tell you that and not change any The CRT installer supports the /quiet and /norestart command-line switches, so you can script running it. -VC11 CRT DLLs can be copied from your local machine to a remote machine(`Copy Deployment` installation) instead of running the installer on the remote machine (such as a web server you have restricted access to). See: http://www.sitepoint.com/install-php53-windows/ +VC11 CRT DLLs can be copied from your local machine to a remote machine(`Copy Deployment` installation) instead of running the installer on the remote machine (such as a web server you have restricted access to). See: https://www.sitepoint.com/install-php53-windows/ VC14 CRT does not support a `Copy Deployment` installation. VC14 CRT has many more DLLs(most in files with names starting with api-*). If you can find them all and copy them, it will also work (try a tool like Resource Hacker to get a list of all the DLLs to copy). @@ -83,7 +83,7 @@ VC14 CRT does not support a `Copy Deployment` installation. VC14 CRT has many mo