commit | 5f4a4f2fb2458d1ca94eb34404778aae08ab038a | [log] [tgz] |
---|---|---|
author | Richard S. Hall <rickhall@apache.org> | Wed Jan 20 14:47:38 2010 +0000 |
committer | Richard S. Hall <rickhall@apache.org> | Wed Jan 20 14:47:38 2010 +0000 |
tree | bb85d35ee9e8bc47cf7766a85564422f702238f5 | |
parent | 39ad7b2398ebe0bf7c652406893230cb5819006c [diff] |
Use UTF-8 when decoding URLs. (FELIX-1998) git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@901220 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/java/org/apache/felix/framework/cache/BundleArchive.java b/framework/src/main/java/org/apache/felix/framework/cache/BundleArchive.java index 69e5ab3..e9fac70 100644 --- a/framework/src/main/java/org/apache/felix/framework/cache/BundleArchive.java +++ b/framework/src/main/java/org/apache/felix/framework/cache/BundleArchive.java
@@ -985,7 +985,7 @@ } // Decode any URL escaped sequences. - location = URLDecoder.decode(location); + location = URLDecoder.decode(location, "UTF-8"); // Make sure the referenced file exists. File file = new File(location.substring(FILE_PROTOCOL.length())); @@ -1136,4 +1136,4 @@ if (os != null) os.close(); } } -} \ No newline at end of file +}