flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cd...@apache.org
Subject [01/23] git commit: [flex-falcon] [refs/heads/feature-autobuild/example-maven-dirs] - - Made sure urls are URLDecoded before using them (Currently this prevented us from using the Feature-Branch Pipeline builds)
Date Sat, 05 Nov 2016 08:50:43 GMT
Repository: flex-falcon
Updated Branches:
  refs/heads/feature-autobuild/example-maven-dirs dd6e2c113 -> 10e23ff62


- 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/feature-autobuild/example-maven-dirs
Commit: 9694d69bbb803acd722e04d0dfc23527fcb3ebb3
Parents: cccaa5a
Author: Christofer Dutz <christofer.dutz@codecentric.de>
Authored: Fri Oct 28 17:27:49 2016 +0200
Committer: Christofer Dutz <christofer.dutz@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);


Mime
View raw message