You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by re...@locus.apache.org on 2000/11/19 21:43:09 UTC

cvs commit: jakarta-slide/src/share/org/apache/slide/webdav/method PropFindMethod.java

remm        00/11/19 12:43:09

  Modified:    src/share/org/apache/slide/webdav/method PropFindMethod.java
  Log:
  - Do not append a trailing '/'.
  
  Revision  Changes    Path
  1.8       +6 -3      jakarta-slide/src/share/org/apache/slide/webdav/method/PropFindMethod.java
  
  Index: PropFindMethod.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/share/org/apache/slide/webdav/method/PropFindMethod.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- PropFindMethod.java	2000/09/26 02:44:33	1.7
  +++ PropFindMethod.java	2000/11/19 20:43:08	1.8
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-slide/src/share/org/apache/slide/webdav/method/PropFindMethod.java,v 1.7 2000/09/26 02:44:33 remm Exp $
  - * $Revision: 1.7 $
  - * $Date: 2000/09/26 02:44:33 $
  + * $Header: /home/cvs/jakarta-slide/src/share/org/apache/slide/webdav/method/PropFindMethod.java,v 1.8 2000/11/19 20:43:08 remm Exp $
  + * $Revision: 1.8 $
  + * $Date: 2000/11/19 20:43:08 $
    *
    * ====================================================================
    *
  @@ -444,6 +444,9 @@
                       if ((!absoluteUri.endsWith("/")) && 
                           (!toAppend.startsWith("/"))) {
                           toAppend = "/" + toAppend;
  +                    }
  +                    if (toAppend.equals("/")) {
  +                        toAppend = "";
                       }
                   }