Roxen.git / server / base_server / configuration.pike

version» Context lines:

Roxen.git/server/base_server/configuration.pike:1996:    }    } else if (lockscope == "DAV:exclusive" ?    lock_info >= LOCK_SHARED_BELOW :    lock_info >= LOCK_OWN_BELOW) {    // Some other lock prevents us.    return Roxen.http_status(423, "Locked");    }       // 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(),    [string loc, function func])    {    string subpath;    if (has_prefix(path, loc)) {    // path == loc + subpath.    subpath = path[sizeof(loc)..];    } else if (recursive && has_prefix(loc, path)) {