[Libreoffice-commits] website.git: Branch 'update' - check.php

Christian Lohmaier lohmaier+LibreOffice at googlemail.com
Tue Sep 12 13:03:11 UTC 2017


 check.php |   74 +++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 37 insertions(+), 37 deletions(-)

New commits:
commit 8449883a119bc3bfba91af93d517bd58f3c40a0d
Author: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
Date:   Tue Sep 12 15:03:04 2017 +0200

    use https URLs

diff --git a/check.php b/check.php
index f8cfb16..bbc69c5 100644
--- a/check.php
+++ b/check.php
@@ -65,43 +65,43 @@ function get_update_info($agent=null) {
 
 # Localization of the URLs
 $localize_map = array(
-    'http://www.libreoffice.org/download/' => array(
-        'cs' => 'http://cs.libreoffice.org/stahnout/',
-        'da' => 'http://da.libreoffice.org/hent-libreoffice/',
-        'de' => 'http://de.libreoffice.org/download/',
-        'eo' => 'http://eo.libreoffice.org/elsxuti/',
-        'es' => 'http://es.libreoffice.org/descarga/',
-        'fi' => 'http://fi.libreoffice.org/lataa/',
-        'fr' => 'http://fr.libreoffice.org/telecharger/',
-        'ga' => 'http://ga.libreoffice.org/iosluchtu/',
-        'gd' => 'http://gd.libreoffice.org/faigh-e/',
-        'hu' => 'http://hu.libreoffice.org/letoeltes/',
-        'it' => 'http://it.libreoffice.org/download/',
-        'ja' => 'http://ja.libreoffice.org/download/',
-        'lt' => 'http://lt.libreoffice.org/parsisiuntimas/',
-        'nl' => 'http://nl.libreoffice.org/download/',
-        'pt' => 'http://pt.libreoffice.org/transferir-e-instalar/',
-        'pt-br' => 'http://pt-br.libreoffice.org/baixe-ja-o-libreoffice-em-portugues-do-brasil/',
-        'sl' => 'http://sl.libreoffice.org/prenosi/',
-        'zh-tw' => 'http://zh-tw.libreoffice.org/download/',
+    'https://www.libreoffice.org/download/' => array(
+        'cs' => 'https://cs.libreoffice.org/stahnout/',
+        'da' => 'https://da.libreoffice.org/hent-libreoffice/',
+        'de' => 'https://de.libreoffice.org/download/',
+        'eo' => 'https://eo.libreoffice.org/elsxuti/',
+        'es' => 'https://es.libreoffice.org/descarga/',
+        'fi' => 'https://fi.libreoffice.org/lataa/',
+        'fr' => 'https://fr.libreoffice.org/telecharger/',
+        'ga' => 'https://ga.libreoffice.org/iosluchtu/',
+        'gd' => 'https://gd.libreoffice.org/faigh-e/',
+        'hu' => 'https://hu.libreoffice.org/letoeltes/',
+        'it' => 'https://it.libreoffice.org/download/',
+        'ja' => 'https://ja.libreoffice.org/download/',
+        'lt' => 'https://lt.libreoffice.org/parsisiuntimas/',
+        'nl' => 'https://nl.libreoffice.org/download/',
+        'pt' => 'https://pt.libreoffice.org/transferir-e-instalar/',
+        'pt-br' => 'https://pt-br.libreoffice.org/baixe-ja-o-libreoffice-em-portugues-do-brasil/',
+        'sl' => 'https://sl.libreoffice.org/prenosi/',
+        'zh-tw' => 'https://zh-tw.libreoffice.org/download/',
     ),
-    'http://www.libreoffice.org/download/pre-releases/' => array(
-        'da' => 'http://da.libreoffice.org/hent-libreoffice/test/',
-        'de' => 'http://de.libreoffice.org/download/testversionen/',
-        'es' => 'http://es.libreoffice.org/descarga/pre-lanzamientos/',
-        'fi' => 'http://fi.libreoffice.org/lataa/testiversioita/',
-        'fr' => 'http://fr.libreoffice.org/telecharger/pre-versions/',
-        'ga' => 'http://ga.libreoffice.org/iosluchtu/reamhleagan/',
-        'gd' => 'http://gd.libreoffice.org/faigh-e/deuchainn-lann/',
-        'hu' => 'http://hu.libreoffice.org/letoeltes/el-zetes-kiadasok/',
-        'it' => 'http://it.libreoffice.org/download/pre-release/',
-        'ja' => 'http://ja.libreoffice.org/download/pre-releases/',
-        'lt' => 'http://lt.libreoffice.org/parsisiuntimas/testuojamosios-versijos/',
-        'nl' => 'http://nl.libreoffice.org/download/pre-releases/',
-        'pt' => 'http://pt.libreoffice.org/pre-lancamentos/',
-        'pt-br' => 'http://pt-br.libreoffice.org/baixe-ja-o-libreoffice-em-portugues-do-brasil/prelancamento/',
-        'sl' => 'http://sl.libreoffice.org/prenosi/prenosi-poskusnih-gradenj/',
-        'zh-tw' => 'http://zh-tw.libreoffice.org/download/pre-releases/',
+    'https://www.libreoffice.org/download/pre-releases/' => array(
+        'da' => 'https://da.libreoffice.org/hent-libreoffice/test/',
+        'de' => 'https://de.libreoffice.org/download/testversionen/',
+        'es' => 'https://es.libreoffice.org/descarga/pre-lanzamientos/',
+        'fi' => 'https://fi.libreoffice.org/lataa/testiversioita/',
+        'fr' => 'https://fr.libreoffice.org/telecharger/pre-versions/',
+        'ga' => 'https://ga.libreoffice.org/iosluchtu/reamhleagan/',
+        'gd' => 'https://gd.libreoffice.org/faigh-e/deuchainn-lann/',
+        'hu' => 'https://hu.libreoffice.org/letoeltes/el-zetes-kiadasok/',
+        'it' => 'https://it.libreoffice.org/download/pre-release/',
+        'ja' => 'https://ja.libreoffice.org/download/pre-releases/',
+        'lt' => 'https://lt.libreoffice.org/parsisiuntimas/testuojamosios-versijos/',
+        'nl' => 'https://nl.libreoffice.org/download/pre-releases/',
+        'pt' => 'https://pt.libreoffice.org/pre-lancamentos/',
+        'pt-br' => 'https://pt-br.libreoffice.org/baixe-ja-o-libreoffice-em-portugues-do-brasil/prelancamento/',
+        'sl' => 'https://sl.libreoffice.org/prenosi/prenosi-poskusnih-gradenj/',
+        'zh-tw' => 'https://zh-tw.libreoffice.org/download/pre-releases/',
     )
 );
 
@@ -508,7 +508,7 @@ $build_hash_to_version = array(
 # 'id' is what is going to be shown in the update information dialog
 # 'update_src' specifies the target url.  When 'substitute' is set to true,
 #   you can use there a string like
-#   'http://www.libreoffice.org/download/?type=<type>&lang=<lang>&version=3.5.6'
+#   'https://www.libreoffice.org/download/?type=<type>&lang=<lang>&version=3.5.6'
 #   where '<type>' and '<lang>' will be substitued with the right value
 #   NOTE: '&' in the URL has to be escaped as &
 $update_map = array(


More information about the Libreoffice-commits mailing list