flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [04/14] git commit: [flex-falcon] [refs/heads/develop] - - Added code to decode url encoded paths returned by "URI"
Date Thu, 10 Nov 2016 17:40:37 GMT
- 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/develop
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