remm        01/02/18 16:23:48

  Modified:    src/webdav/server/org/apache/slide/webdav/method
                        PropFindMethod.java
  Log:
  - Forgot to decode URLs which were used in PROPFIND to construct hrefs.
    Thanks to Michael Smith <[EMAIL PROTECTED]> for the patch.
  
  Revision  Changes    Path
  1.8       +5 -5      
jakarta-slide/src/webdav/server/org/apache/slide/webdav/method/PropFindMethod.java
  
  Index: PropFindMethod.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/src/webdav/server/org/apache/slide/webdav/method/PropFindMethod.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- PropFindMethod.java       2001/02/15 17:44:01     1.7
  +++ PropFindMethod.java       2001/02/19 00:23:47     1.8
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-slide/src/webdav/server/org/apache/slide/webdav/method/PropFindMethod.java,v
 1.7 2001/02/15 17:44:01 remm Exp $
  - * $Revision: 1.7 $
  - * $Date: 2001/02/15 17:44:01 $
  + * $Header: 
/home/cvs/jakarta-slide/src/webdav/server/org/apache/slide/webdav/method/PropFindMethod.java,v
 1.8 2001/02/19 00:23:47 remm Exp $
  + * $Revision: 1.8 $
  + * $Date: 2001/02/19 00:23:47 $
    *
    * ====================================================================
    *
  @@ -427,7 +427,7 @@
                   
                   String path = object.getUri();
                   
  -                String absoluteUri = req.getRequestURI();
  +                String absoluteUri = URLDecode(req.getRequestURI());
                   String relativePath = requestUri;
                   String toAppend = "";
                   if (relativePath.length() <= path.length()) {
  @@ -453,7 +453,7 @@
                   
                   String path = object.getUri();
                   
  -                String absoluteUri = req.getRequestURI();
  +                String absoluteUri = URLDecode(req.getRequestURI());
                   String relativePath = requestUri;
                   String toAppend = "";
                   if (relativePath.length() <= path.length()) {
  
  
  

Reply via email to