From 3174a75fdd06403853fd744631d6f19cdc252241 Mon Sep 17 00:00:00 2001
From: mattab
Date: Tue, 10 Jun 2014 11:34:24 +1200
Subject: [PATCH] Use piwik-latest.zip instead of latest.zip to work around bug
on Chrome on Windows Refs #4455
---
config/global.ini.php | 2 +-
core/testMinimumPhpVersion.php | 2 +-
misc/package/build.sh | 2 +-
tests/PHPUnit/Core/HttpTest.php | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/config/global.ini.php b/config/global.ini.php
index cb5017b642f..008b535e0fb 100644
--- a/config/global.ini.php
+++ b/config/global.ini.php
@@ -375,7 +375,7 @@
; The release server is an essential part of the Piwik infrastructure/ecosystem
; to provide the latest software version.
-latest_version_url = http://builds.piwik.org/latest.zip
+latest_version_url = http://builds.piwik.org/piwik-latest.zip
; The API server is an essential part of the Piwik infrastructure/ecosystem to
; provide services to Piwik installations, e.g., getLatestVersion and
diff --git a/core/testMinimumPhpVersion.php b/core/testMinimumPhpVersion.php
index e49b6919eee..72bdb10b29f 100644
--- a/core/testMinimumPhpVersion.php
+++ b/core/testMinimumPhpVersion.php
@@ -62,7 +62,7 @@
" This will initialize composer for Piwik and download libraries we use in vendor/* directory.".
"\n\n
Then reload this page to access your analytics reports." .
"\n\n
Note: if for some reasons you cannot install composer, instead install the latest Piwik release from ".
- "builds.piwik.org.
";
+ "builds.piwik.org.";
}
}
diff --git a/misc/package/build.sh b/misc/package/build.sh
index 1bba6e54ea7..bf1b22d86fc 100755
--- a/misc/package/build.sh
+++ b/misc/package/build.sh
@@ -211,7 +211,7 @@ If you have any question, feel free to ask. \n\n\
Thank you,\n\n\
Piwik team" | mail -s"New Piwik Version $VERSION" "appgal@microsoft.com,hello@piwik.org"
- echo "build finished! http://builds.piwik.org/latest.zip"
+ echo "build finished! http://builds.piwik.org/piwik-latest.zip"
fi
diff --git a/tests/PHPUnit/Core/HttpTest.php b/tests/PHPUnit/Core/HttpTest.php
index 3042bfaadc2..f0b643dd83a 100644
--- a/tests/PHPUnit/Core/HttpTest.php
+++ b/tests/PHPUnit/Core/HttpTest.php
@@ -64,7 +64,7 @@ public function testCustomByteRange($method)
{
$result = Http::sendHttpRequestBy(
$method,
- 'http://builds.piwik.org/latest.zip',
+ 'http://builds.piwik.org/piwik-latest.zip',
30,
$userAgent = null,
$destinationPath = null,