You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cd...@apache.org on 2016/10/28 15:27:57 UTC

git commit: [flex-falcon] [refs/heads/develop] - - Made sure urls are URLDecoded before using them (Currently this prevented us from using the Feature-Branch Pipeline builds)

Repository: flex-falcon
Updated Branches:
  refs/heads/develop cccaa5a16 -> 9694d69bb


- Made sure urls are URLDecoded before using them (Currently this prevented us from using the Feature-Branch Pipeline builds)


Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/9694d69b
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/9694d69b
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/9694d69b

Branch: refs/heads/develop
Commit: 9694d69bbb803acd722e04d0dfc23527fcb3ebb3
Parents: cccaa5a
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Fri Oct 28 17:27:49 2016 +0200
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Fri Oct 28 17:27:49 2016 +0200

----------------------------------------------------------------------
 .../compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/9694d69b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
----------------------------------------------------------------------
diff --git a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
index 40a9e1c..adc7e8b 100644
--- a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
+++ b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
@@ -26,6 +26,7 @@ import java.io.InputStream;
 import java.io.InputStreamReader;
 import java.io.OutputStream;
 import java.net.URL;
+import java.net.URLDecoder;
 import java.util.ArrayList;
 import java.util.Collection;
 import java.util.Comparator;
@@ -202,6 +203,7 @@ public class MXMLFlexJSPublisher extends JSGoogPublisher implements IJSPublisher
                     // Unless we are not using some insanely complex setup
                     // the resource will always be on the same machine.
                     String resourceJarPath = resource.getFile();
+                    resourceJarPath = URLDecoder.decode(resourceJarPath, "UTF-8");
                     if (resourceJarPath.contains(":"))
                     {
                         resourceJarPath = resourceJarPath.substring(resourceJarPath.lastIndexOf(":") + 1);