Repository: flex-utilities Updated Branches: refs/heads/develop 6dfe45a1e -> 65ff3b0ab
FLEX-35381 - Fix issue with older version of SDK where osmf download failed - Thanks to feedback from Phil Haeusler Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/65ff3b0a Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/65ff3b0a Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/65ff3b0a Branch: refs/heads/develop Commit: 65ff3b0abff55d3f928271d74fd3257cd81d9c38 Parents: 6dfe45a Author: Piotr Zarzycki <[email protected]> Authored: Tue Apr 17 08:33:41 2018 +0200 Committer: Piotr Zarzycki <[email protected]> Committed: Tue Apr 17 08:33:41 2018 +0200 ---------------------------------------------------------------------- flex-installer/ant_on_air/src/org/apache/flex/ant/tags/Get.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/65ff3b0a/flex-installer/ant_on_air/src/org/apache/flex/ant/tags/Get.as ---------------------------------------------------------------------- diff --git a/flex-installer/ant_on_air/src/org/apache/flex/ant/tags/Get.as b/flex-installer/ant_on_air/src/org/apache/flex/ant/tags/Get.as index 840f883..a326def 100644 --- a/flex-installer/ant_on_air/src/org/apache/flex/ant/tags/Get.as +++ b/flex-installer/ant_on_air/src/org/apache/flex/ant/tags/Get.as @@ -162,7 +162,7 @@ package org.apache.flex.ant.tags var srcIndex:int = src.indexOf(DOWNLOADS_SOURCEFORGE_NET); var sfIndex:int = newlocation.indexOf(SOURCEFORGE_NET); var mirrorIndex:int = newlocation.indexOf(USE_MIRROR); - var isSourceForge:Boolean = newlocation.indexOf(SOURCEFORGE_NET_HTTPS) > -1; + var isSourceForge:Boolean = newlocation.indexOf(SOURCEFORGE_NET_HTTPS) > -1 || newlocation.indexOf(DOWNLOADS_SOURCEFORGE_NET) > -1; if (srcIndex == 0 && sfIndex == 0 && mirrorIndex != -1 && event.status == 307) { // SourceForge redirects AIR requests differently from Ant requests.
