Roxen.git / server / modules / filesystems / filesystem.pike

version» Context lines:

Roxen.git/server/modules/filesystems/filesystem.pike:1:   // This is a roxen module. Copyright © 1996 - 2000, Roxen IS.      // This is a virtual "file-system".   // It will be located somewhere in the name-space of the server.   // Also inherited by some of the other filesystems.      inherit "module";   inherit "roxenlib";   inherit "socket";    - constant cvs_version= "$Id: filesystem.pike,v 1.75 2000/03/23 00:37:50 mast Exp $"; + constant cvs_version= "$Id: filesystem.pike,v 1.76 2000/03/26 03:43:24 mast Exp $";   constant thread_safe=1;      #include <module.h>   #include <roxen.h>   #include <stat.h>   #include <request_trace.h>      #if DEBUG_LEVEL > 20   # ifndef FILESYSTEM_DEBUG   # define FILESYSTEM_DEBUG
Roxen.git/server/modules/filesystems/filesystem.pike:452:    */    string new_query =    http_encode_string(id->not_query[..sizeof(id->not_query)-2]) +    (id->query?("?" + id->query):"");    TRACE_LEAVE("Redirecting to \"" + new_query + "\"");    return http_redirect(new_query, id);    }       if(!id->misc->internal_get) {    if (!QUERY(.files) -  && (tmp = (id->not_query/"/")[-1]) +  && sizeof (tmp = (id->not_query/"/")[-1])    && tmp[0] == '.') {    TRACE_LEAVE("Is .-file");    return 0;    }    if (FILTER_INTERNAL_FILE (f, id)) {    TRACE_LEAVE ("Is internal file");    return 0;    }    }