Bug 1335028 - Use only https for connections to hg.mozilla.org in Thunderbird and Instantbird. r=aleth
authorFrank-Rainer Grahl <frgrahl@gmx.net>
Tue, 31 Jan 2017 12:02:19 +0100
changeset 27553 fd1bd7431d81f9fba0dd1979720f00183bd770d4
parent 27552 80c9d015ac2972b3259af7711730fb0f1d7fce5b
child 27554 6eeaa5555802a5545f03e497b239f8e46c2ad9c4
push idunknown
push userunknown
push dateunknown
reviewersaleth
bugs1335028
Bug 1335028 - Use only https for connections to hg.mozilla.org in Thunderbird and Instantbird. r=aleth
client.mk
im/locales/Makefile.in
mail/locales/l10n-aurora.ini
mail/locales/l10n-beta.ini
mail/locales/l10n-central.ini
mail/test/resources/mozmill/mozmill/extension/resource/stdlib/httpd.js
mail/test/resources/mozmill/scripts/sync_dependencies.py
mailnews/base/src/nsMessenger.cpp
mailnews/db/gloda/modules/datastore.js
--- a/client.mk
+++ b/client.mk
@@ -1,16 +1,16 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 # Build a comm application (Mozilla calendar, mail or suite).
 #
 # To build a tree,
-#    1. hg clone http://hg.mozilla.org/comm-central comm
+#    1. hg clone https://hg.mozilla.org/comm-central comm
 #    2. cd comm
 #    3. python client.py checkout
 #    4. create your .mozconfig file with
 #       ac_add_options --enable-application=suite
 #         (or mail, or calendar)
 #    5. gmake -f client.mk
 #
 # Other targets (gmake -f client.mk [targets...]),
--- a/im/locales/Makefile.in
+++ b/im/locales/Makefile.in
@@ -207,17 +207,17 @@ endif
 merge-%:
 ifdef LOCALE_MERGEDIR
 	$(RM) -rf $(LOCALE_MERGEDIR)
 	MACOSX_DEPLOYMENT_TARGET= compare-locales -m $(LOCALE_MERGEDIR) $(srcdir)/l10n.ini $(L10NBASEDIR) $*
 endif
 	@echo
 
 IB_L10N_REPO_BASE = https://hg.instantbird.org/l10n
-MOZ_L10N_REPO_BASE = http://hg.mozilla.org/releases/l10n-mozilla-2.0
+MOZ_L10N_REPO_BASE = https://hg.mozilla.org/releases/l10n-mozilla-2.0
 
 checkout-%: AB_CD=$*
 checkout-%:
 	mkdir -p $(topsrcdir)/$(L10NBASEDIR)
 	$(PYTHON) $(topsrcdir)/client.py checkout-l10n --skip-instantbird --clean --l10n-base-dir $(L10NBASEDIR) --locale $(AB_CD)
 
 repack-%: AB_CD=$*
 repack-%:
--- a/mail/locales/l10n-aurora.ini
+++ b/mail/locales/l10n-aurora.ini
@@ -12,16 +12,16 @@ dirs = mail
 # non-central apps might want to use %(topsrcdir)s here, or other vars
 # RFE: that needs to be supported by compare-locales, too, though
 toolkit = mozilla/toolkit/locales/l10n.ini
 devtools_client = mozilla/devtools/client/locales/l10n.ini
 
 [include_toolkit]
 type = hg
 mozilla = releases/mozilla-aurora
-repo = http://hg.mozilla.org/
+repo = https://hg.mozilla.org/
 l10n.ini = toolkit/locales/l10n.ini
 
 [include_devtools_client]
 type = hg
 mozilla = releases/mozilla-aurora
-repo = http://hg.mozilla.org/
+repo = https://hg.mozilla.org/
 l10n.ini = devtools/client/locales/l10n.ini
--- a/mail/locales/l10n-beta.ini
+++ b/mail/locales/l10n-beta.ini
@@ -12,16 +12,16 @@ dirs = mail
 # non-central apps might want to use %(topsrcdir)s here, or other vars
 # RFE: that needs to be supported by compare-locales, too, though
 toolkit = mozilla/toolkit/locales/l10n.ini
 devtools_client = mozilla/devtools/client/locales/l10n.ini
 
 [include_toolkit]
 type = hg
 mozilla = releases/mozilla-beta
-repo = http://hg.mozilla.org/
+repo = https://hg.mozilla.org/
 l10n.ini = toolkit/locales/l10n.ini
 
 [include_devtools_client]
 type = hg
 mozilla = releases/mozilla-beta
-repo = http://hg.mozilla.org/
+repo = https://hg.mozilla.org/
 l10n.ini = devtools/client/locales/l10n.ini
--- a/mail/locales/l10n-central.ini
+++ b/mail/locales/l10n-central.ini
@@ -12,16 +12,16 @@ dirs = mail
 # non-central apps might want to use %(topsrcdir)s here, or other vars
 # RFE: that needs to be supported by compare-locales, too, though
 toolkit = mozilla/toolkit/locales/l10n.ini
 devtools_client = mozilla/devtools/client/locales/l10n.ini
 
 [include_toolkit]
 type = hg
 mozilla = mozilla-central
-repo = http://hg.mozilla.org/
+repo = https://hg.mozilla.org/
 l10n.ini = toolkit/locales/l10n.ini
 
 [include_devtools_client]
 type = hg
 mozilla = mozilla-central
-repo = http://hg.mozilla.org/
+repo = https://hg.mozilla.org/
 l10n.ini = devtools/client/locales/l10n.ini
--- a/mail/test/resources/mozmill/mozmill/extension/resource/stdlib/httpd.js
+++ b/mail/test/resources/mozmill/mozmill/extension/resource/stdlib/httpd.js
@@ -4899,17 +4899,17 @@ nsHttpHeaders.prototype =
    */
   setHeader: function(fieldName, fieldValue, merge)
   {
     var name = headerUtils.normalizeFieldName(fieldName);
     var value = headerUtils.normalizeFieldValue(fieldValue);
 
     // The following three headers are stored as arrays because their real-world
     // syntax prevents joining individual headers into a single header using
-    // ",".  See also <http://hg.mozilla.org/mozilla-central/diff/9b2a99adc05e/netwerk/protocol/http/src/nsHttpHeaderArray.cpp#l77>
+    // ",".  See also <https://hg.mozilla.org/mozilla-central/diff/9b2a99adc05e/netwerk/protocol/http/src/nsHttpHeaderArray.cpp#l77>
     if (merge && name in this._headers)
     {
       if (name === "www-authenticate" ||
           name === "proxy-authenticate" ||
           name === "set-cookie")
       {
         this._headers[name].push(value);
       }
--- a/mail/test/resources/mozmill/scripts/sync_dependencies.py
+++ b/mail/test/resources/mozmill/scripts/sync_dependencies.py
@@ -39,17 +39,17 @@ import subprocess
 import urllib
 
 abs_path = os.path.dirname(os.path.abspath(__file__))
 root_path = os.path.dirname(abs_path)
 
 # We need the latest version of Event Utils
 externalModules = [
     {   # EventUtils.js
-        "url": "http://hg.mozilla.org/mozilla-central/raw-file/default/testing/mochitest/tests/SimpleTest/EventUtils.js",
+        "url": "https://hg.mozilla.org/mozilla-central/raw-file/default/testing/mochitest/tests/SimpleTest/EventUtils.js",
         "path": "mozmill/extension/resource/stdlib/EventUtils.js",
         "patch": "patches/eventUtils.patch"
     }
 ]
 
 
 # Change into the root folder to update and patch external modules correctly
 os.chdir(root_path)
--- a/mailnews/base/src/nsMessenger.cpp
+++ b/mailnews/base/src/nsMessenger.cpp
@@ -1784,17 +1784,17 @@ nsresult nsSaveMsgListener::InitializeDo
     nsCOMPtr<nsIMIMEService> mimeService (do_GetService(NS_MIMESERVICE_CONTRACTID));
     nsCOMPtr<nsIMIMEInfo> mimeinfo;
     
     mimeService->GetFromTypeAndExtension(m_contentType, EmptyCString(), getter_AddRefs(mimeinfo));
     
     // create a download progress window
 
     // Set saveToDisk explicitly to avoid launching the saved file.
-    // See http://hg.mozilla.org/mozilla-central/file/814a6f071472/toolkit/components/jsdownloads/src/DownloadLegacy.js#l164
+    // See https://hg.mozilla.org/mozilla-central/file/814a6f071472/toolkit/components/jsdownloads/src/DownloadLegacy.js#l164
     mimeinfo->SetPreferredAction(nsIHandlerInfo::saveToDisk);
 
     // When we don't allow warnings, also don't show progress, as this
     //  is an environment (typically filters) where we don't want
     //  interruption.
     bool allowProgress = true;
     if (m_saveAllAttachmentsState)
       allowProgress = !m_saveAllAttachmentsState->m_withoutWarning;
--- a/mailnews/db/gloda/modules/datastore.js
+++ b/mailnews/db/gloda/modules/datastore.js
@@ -1,14 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /* This file looks to Myk Melez <myk@mozilla.org>'s Mozilla Labs snowl
- * project's (http://hg.mozilla.org/labs/snowl/) modules/datastore.js
+ * project's (https://hg.mozilla.org/labs/snowl/) modules/datastore.js
  * for inspiration and idioms (and also a name :).
  */
 
 this.EXPORTED_SYMBOLS = ["GlodaDatastore"];
 
 var Cc = Components.classes;
 var Ci = Components.interfaces;
 var Cr = Components.results;