You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2012/05/31 22:28:28 UTC

svn commit: r1344896 - /tomcat/trunk/java/org/apache/naming/resources/DirContextURLConnection.java

Author: markt
Date: Thu May 31 20:28:28 2012
New Revision: 1344896

URL: http://svn.apache.org/viewvc?rev=1344896&view=rev
Log:
Additional change should have been in r1344890

Modified:
    tomcat/trunk/java/org/apache/naming/resources/DirContextURLConnection.java

Modified: tomcat/trunk/java/org/apache/naming/resources/DirContextURLConnection.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/naming/resources/DirContextURLConnection.java?rev=1344896&r1=1344895&r2=1344896&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/naming/resources/DirContextURLConnection.java (original)
+++ tomcat/trunk/java/org/apache/naming/resources/DirContextURLConnection.java Thu May 31 20:28:28 2012
@@ -389,7 +389,8 @@ public class DirContextURLConnection ext
 
         // Reopen resource
         try {
-            resource = (Resource) context.lookup(getURL().getFile());
+            resource = (Resource) context.lookup(
+                    URL_DECODER.convert(getURL().getFile(), false));
         } catch (NamingException e) {
             // Ignore
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org