Roxen.git / server / base_server / module.pike

version» Context lines:

Roxen.git/server/base_server/module.pike:1212:    if (!stat)    stat = id->get_multi_status()->prefix (id->url_base() +    query_location()[1..]);       Stat st = stat_file(path, id);    if (!st) {    SIMPLE_TRACE_LEAVE ("No such file or directory");    return 0;    }    +  mapping(string:mixed) ret = write_access(path, 1, id); +  if (ret) { +  SIMPLE_TRACE_LEAVE("Write access denied: %O", ret); +  return ret; +  } +     mapping(string:mixed) recurse (string path, Stat st)    {    // Note: Already got an extra TRACE_ENTER level on entry here.       if (st->isdir) {    // RFC 2518 8.6.2    // The DELETE operation on a collection MUST act as if a    // "Depth: infinity" header was used on it.    int fail;    if (!has_suffix(path, "/")) path += "/";