Rewrite the WebKit Nightly build download URLs to use the correct secure URL.
https://bugs.webkit.org/show_bug.cgi?id=159100.

Reviewed by Joseph Pecoraro.

* wp-content/plugins/sync-nightly-builds.php:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@202449 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Websites/webkit.org/ChangeLog b/Websites/webkit.org/ChangeLog
index fe41135..bb325ce 100644
--- a/Websites/webkit.org/ChangeLog
+++ b/Websites/webkit.org/ChangeLog
@@ -1,3 +1,12 @@
+2016-06-24  Jon Davis  <jond@apple.com>
+
+        Rewrite the WebKit Nightly build download URLs to use the correct secure URL.
+        https://bugs.webkit.org/show_bug.cgi?id=159100.
+
+        Reviewed by Joseph Pecoraro.
+
+        * wp-content/plugins/sync-nightly-builds.php:
+
 2016-06-13  Jon Davis  <jond@apple.com>
 
         Minor style updates for figcaptions and post forewords.
diff --git a/Websites/webkit.org/wp-content/plugins/sync-nightly-builds.php b/Websites/webkit.org/wp-content/plugins/sync-nightly-builds.php
index d9e52bc..8d85a9e 100644
--- a/Websites/webkit.org/wp-content/plugins/sync-nightly-builds.php
+++ b/Websites/webkit.org/wp-content/plugins/sync-nightly-builds.php
@@ -79,7 +79,11 @@
             $line = trim($line);
             if ( empty($line) ) break;
             list($build, $timestamp, $download) = explode(',', $line);
-            $records[$i] = array($build, date("F j, Y g:i A", $timestamp) . " GMT", $download);
+            $records[$i] = array(
+                $build, 
+                date("F j, Y g:i A", $timestamp) . " GMT", 
+                str_replace("http://builds.nightly.webkit.org/", "https://builds-nightly.webkit.org/", $download)
+            );
         }
         fclose($resource);
         return (array)$records;