httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject cvs commit: httpd-2.0/modules/dav/main util.c
Date Sun, 14 Mar 2004 19:51:08 GMT
jorton      2004/03/14 11:51:08

  Modified:    modules/dav/main util.c
  Log:
  Forward-port from mod_dav 1.0:
  
  * modules/dav/main/util.c (dav_validate_resource_state): Fix a 2617
  violation: if the lock user validation fails, rather than giving a 401
  without a WWW-Authenticate header, give a 403.
  
  Revision  Changes    Path
  1.54      +1 -1      httpd-2.0/modules/dav/main/util.c
  
  Index: util.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/dav/main/util.c,v
  retrieving revision 1.53
  retrieving revision 1.54
  diff -w -d -u -r1.53 -r1.54
  --- util.c	9 Feb 2004 20:29:18 -0000	1.53
  +++ util.c	14 Mar 2004 19:51:08 -0000	1.54
  @@ -1166,7 +1166,7 @@
                                               "\" submitted a locktoken created "
                                               "by user \"",
                                               lock->auth_user, "\".", NULL);
  -                        return dav_new_error(p, HTTP_UNAUTHORIZED, 0, errmsg);
  +                        return dav_new_error(p, HTTP_FORBIDDEN, 0, errmsg);
                       }
   
                       /*
  
  
  

Mime
View raw message