Branch: Tag:

2018-03-08

2018-03-08 16:25:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

WebDAV: Use urn:uuid: namespace for locks.

This is the namespace recommended by RFC 4918 (and it saves a few bytes).

Fixes [WS-163]

5:   // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.573 2004/05/14 16:30:42 grubba Exp $"; + constant cvs_version = "$Id$";   #include <module.h>   #include <module_constants.h>   #include <roxen.h>
1489:       // Create the new lock.    -  string locktoken = "opaquelocktoken:" + roxen->new_uuid_string(); +  string locktoken = "urn:uuid:" + roxen->new_uuid_string();    DAVLock lock = DAVLock(locktoken, path, recursive, lockscope, locktype,    expiry_delta, owner);    foreach(location_module_cache||location_modules(),