Roxen.git / server / base_server / configuration.pike

version» Context lines:

Roxen.git/server/base_server/configuration.pike:921:    //    // foo.txt/..namedfork/data (same as foo.txt)    // foo.txt/..namedfork/rsrc (resource fork of foo.txt)    // foo.txt/rsrc (resource fork of foo.txt)    // .DS_Store (Finder info file with catalog data)    if (has_value(id->not_query, "..namedfork/") ||    has_suffix(id->not_query, "/rsrc") ||    has_value(lower_case(id->not_query), ".ds_store"))    // Skip elaborate error page since we get these e.g. for WebDAV    // mounts in OS X Finder. -  return Roxen.http_string_answer("No such file", "text/plain"); +  return Roxen.http_status(404, "No such file.");    }       array a = id->not_query/"::";    // FIX: Must not subtract ":" chars since it breaks proper URL:s,    // e.g. "/internal-roxen-colorbar:x,y,z" and several others.    // id->not_query = a[0]-":";    id->not_query = a[0];    id->misc->fork_information = a[1..];    return 0;   }