ib          2004/07/30 02:06:31

  Modified:    webdavclient/clientlib/src/java/org/apache/webdav/lib
                        WebdavResource.java
  Log:
  Fix bug that occurred when getting the children of a resource that has
  no userinfo set.
  
  Revision  Changes    Path
  1.26      +4 -5      
jakarta-slide/webdavclient/clientlib/src/java/org/apache/webdav/lib/WebdavResource.java
  
  Index: WebdavResource.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/webdavclient/clientlib/src/java/org/apache/webdav/lib/WebdavResource.java,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- WebdavResource.java       29 Jul 2004 10:13:28 -0000      1.25
  +++ WebdavResource.java       30 Jul 2004 09:06:30 -0000      1.26
  @@ -1060,8 +1060,7 @@
                   HttpURL childURL = httpURL instanceof HttpsURL
                                      ? new HttpsURL(childURI)
                                      : new HttpURL(childURI);
  -                childURL.setRawUserinfo(httpURL.getRawUser(),
  -                                        httpURL.getRawPassword());
  +                childURL.setRawAuthority(httpURL.getRawAuthority());
                   workingResource.setHttpURL(childURL, NOACTION, defaultDepth);
                   workingResource.setExistence(true);
                   workingResource.setOverwrite(getOverwrite());
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to