flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cd...@apache.org
Subject git commit: [flex-falcon] [refs/heads/feature-autobuild/example-maven-dirs] - - Added code to decode url encoded paths returned by "URI"
Date Fri, 28 Oct 2016 13:21:39 GMT
Repository: flex-falcon
Updated Branches:
  refs/heads/feature-autobuild/example-maven-dirs 36d7ff900 -> 35ec1023a


- Added code to decode url encoded paths returned by "URI"


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: 35ec1023a1b094ad8d8c79a0cc4e0e1d25ec36cd
Parents: 36d7ff9
Author: Christofer Dutz <christofer.dutz@codecentric.de>
Authored: Fri Oct 28 15:21:27 2016 +0200
Committer: Christofer Dutz <christofer.dutz@codecentric.de>
Committed: Fri Oct 28 15:21:27 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/35ec1023/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