avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: avalon-excalibur/sourceresolve/src/java/org/apache/excalibur/source/impl FileSource.java
Date Sat, 07 Jun 2003 18:29:17 GMT
bruno       2003/06/07 11:29:17

  Modified:    sourceresolve/src/java/org/apache/excalibur/source/impl
                        FileSource.java
  Log:
  Decode URL-encoded characters in the file's path.
  
  Revision  Changes    Path
  1.7       +2 -1      avalon-excalibur/sourceresolve/src/java/org/apache/excalibur/source/impl/FileSource.java
  
  Index: FileSource.java
  ===================================================================
  RCS file: /home/cvs/avalon-excalibur/sourceresolve/src/java/org/apache/excalibur/source/impl/FileSource.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- FileSource.java	9 Apr 2003 21:14:40 -0000	1.6
  +++ FileSource.java	7 Jun 2003 18:29:17 -0000	1.7
  @@ -112,6 +112,7 @@
   
           String scheme = uri.substring(0, pos);
           String fileName = uri.substring(pos + 1);
  +        fileName = SourceUtil.decodePath(fileName);
           init(scheme, new File(fileName));
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message