From dc38dc3516901375f1f6d1957703d1c1198ffc16 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Sun, 13 Jul 2014 15:03:28 +0000 Subject: [PATCH] * use https URLs for all downloads --- installer/chocolatey/tools/chocolateyInstall.ps1 | 2 +- installer/portable/update-filebot.sh | 2 +- website/download.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/installer/chocolatey/tools/chocolateyInstall.ps1 b/installer/chocolatey/tools/chocolateyInstall.ps1 index 41bbd4ca..f1845b26 100644 --- a/installer/chocolatey/tools/chocolateyInstall.ps1 +++ b/installer/chocolatey/tools/chocolateyInstall.ps1 @@ -1 +1 @@ -Install-ChocolateyPackage 'filebot' 'msi' '/quiet' 'http://sourceforge.net/projects/filebot/files/filebot/FileBot_@{version}/FileBot_@{version}_x86.msi' 'http://sourceforge.net/projects/filebot/files/filebot/FileBot_@{version}/FileBot_@{version}_x64.msi' \ No newline at end of file +Install-ChocolateyPackage 'filebot' 'msi' '/quiet' 'https://downloads.sourceforge.net/project/filebot/filebot/FileBot_@{version}/FileBot_@{version}_x86.msi' 'https://downloads.sourceforge.net/project/filebot/filebot/FileBot_@{version}/FileBot_@{version}_x64.msi' \ No newline at end of file diff --git a/installer/portable/update-filebot.sh b/installer/portable/update-filebot.sh index 4cc35c4b..66e5729f 100644 --- a/installer/portable/update-filebot.sh +++ b/installer/portable/update-filebot.sh @@ -23,4 +23,4 @@ cd "$WORKING_DIR" JAR_FILE="$APP_ROOT/FileBot.jar" echo "Update $JAR_FILE" -curl -L -o "$JAR_FILE" -z "$JAR_FILE" "http://sourceforge.net/projects/filebot/files/filebot/HEAD/FileBot.jar" \ No newline at end of file +curl -L -o "$JAR_FILE" -z "$JAR_FILE" "https://downloads.sourceforge.net/project/filebot/filebot/HEAD/FileBot.jar" \ No newline at end of file diff --git a/website/download.php b/website/download.php index 5c445336..feb7204a 100644 --- a/website/download.php +++ b/website/download.php @@ -3,11 +3,11 @@ $version = isset($_GET['version']) ? $_GET['version'] : '@{version}'; // default $arch = $_GET['arch']; $type = $_GET['type']; -$folder = 'http://sourceforge.net/projects/filebot/files/filebot/FileBot_'.$version; +$folder = 'https://downloads.sourceforge.net/project/filebot/filebot/FileBot_'.$version; $file = 'undefined'; if ($type == 'nsis') { - $folder = 'http://sourceforge.net/projects/filebot/files/filebot/HEAD'; + $folder = 'https://downloads.sourceforge.net/project/filebot/filebot/HEAD'; $file = 'FileBot-setup.exe'; } else if ($type == 'msi') $file = 'FileBot_'.$version.'_'.$arch.'.msi';