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 pn...@apache.org on 2003/06/17 16:18:04 UTC

cvs commit: jakarta-slide/src/webdav/server/org/apache/slide/webdav/method LockMethod.java

pnever      2003/06/17 07:17:59

  Modified:    src/webdav/server/org/apache/slide/webdav/method
                        LockMethod.java
  Log:
  Fixed bug: according to RFC 2518, the Lock-Token response header must
  be "Lock-Token" ":" Coded-URL, where Coded-URL is "<" absolute-URI ">".
  The "<" and ">" were missing
  
  Revision  Changes    Path
  1.46      +4 -4      jakarta-slide/src/webdav/server/org/apache/slide/webdav/method/LockMethod.java
  
  Index: LockMethod.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/webdav/server/org/apache/slide/webdav/method/LockMethod.java,v
  retrieving revision 1.45
  retrieving revision 1.46
  diff -u -r1.45 -r1.46
  --- LockMethod.java	22 May 2003 15:06:11 -0000	1.45
  +++ LockMethod.java	17 Jun 2003 14:17:59 -0000	1.46
  @@ -553,7 +553,7 @@
                   // a result of a successful LOCK request to create a new
                   // lock."
                   resp.setHeader("Lock-Token",
  -                               "opaquelocktoken:" + lockToken.getLockId());
  +                               "<opaquelocktoken:"+lockToken.getLockId()+">");
   
                       resp.setStatus(WebdavStatus.SC_OK);
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org