cmlenz      02/03/16 09:22:02

  Modified:    src/webdav/client/src/org/apache/webdav/lib Tag: SLIDE_1_0
                        WebdavSession.java
  Log:
  Porting buxfixes/enhancements from the HEAD branch:
  - Committed by dirkv 01/11/18 10:24:22
    "use the URL to start a session (https support)"
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.19.2.1  +5 -4      
jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/WebdavSession.java
  
  Index: WebdavSession.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/WebdavSession.java,v
  retrieving revision 1.19
  retrieving revision 1.19.2.1
  diff -u -r1.19 -r1.19.2.1
  --- WebdavSession.java        25 Aug 2001 14:29:00 -0000      1.19
  +++ WebdavSession.java        16 Mar 2002 17:22:02 -0000      1.19.2.1
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/WebdavSession.java,v
 1.19 2001/08/25 14:29:00 dirkv Exp $
  - * $Revision: 1.19 $
  - * $Date: 2001/08/25 14:29:00 $
  + * $Header: 
/home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/WebdavSession.java,v
 1.19.2.1 2002/03/16 17:22:02 cmlenz Exp $
  + * $Revision: 1.19.2.1 $
  + * $Date: 2002/03/16 17:22:02 $
    *
    * ====================================================================
    *
  @@ -178,7 +178,8 @@
               client.setDebug(debug);        
               // Set a state which allows lock tracking
               client.setState(new WebdavState());
  -            client.startSession(httpURL.getHost(), httpURL.getPort());
  +                     client.startSession(httpURL.toURL());
  +                     
               String userName = httpURL.getUserName();
               if (userName != null && userName.length() > 0) {
                   String password = httpURL.getPassword();
  
  
  

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

Reply via email to