Index: log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/ResolverUtil.java
===================================================================
--- log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/ResolverUtil.java	(revision 1539911)
+++ log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/ResolverUtil.java	(working copy)
@@ -237,13 +237,16 @@
         while (urls.hasMoreElements()) {
             try {
                 final URL url = urls.nextElement();
-                String urlPath = url.getFile();
-                urlPath = URLDecoder.decode(urlPath, Charsets.UTF_8.name());
-
+                String urlPath = url.toExternalForm();
+                
                 // If it's a file in a directory, trim the stupid file: spec
                 if (urlPath.startsWith("file:")) {
                     urlPath = urlPath.substring(5);
                 }
+                else
+                {
+                	urlPath = URLDecoder.decode(urlPath, Charsets.UTF_8.name());
+                }
 
                 // Else it's in a JAR, grab the path to the jar
                 if (urlPath.indexOf('!') > 0) {
