Changeset 2120

Show
Ignore:
Timestamp:
03/10/2008 11:45:29 AM (6 months ago)
Author:
stbuehler
Message:

workaround #1587: require userdir.path to be set to enable mod_userdir (empty string allowed)

Location:
branches/lighttpd-1.4.x
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/lighttpd-1.4.x/NEWS

    r2111 r2120  
    4949  * fix min-procs handling in mod_scgi.c, just set to max-procs (patch from #623) 
    5050  * fix sending "408 - Timeout" instead of "410 - Gone" for timedout urls in mod_secdownload (#1440) 
     51  * workaround #1587: require userdir.path to be set to enable mod_userdir (empty string allowed) 
    5152 
    5253- 1.4.18 - 2007-09-09 
  • branches/lighttpd-1.4.x/src/mod_userdir.c

    r2058 r2120  
    178178        mod_userdir_patch_connection(srv, con, p); 
    179179 
     180        /* enforce the userdir.path to be set in the config, ugly fix for #1587; 
     181         * should be replaced with a clean .enabled option in 1.5 
     182         */ 
     183        if (p->conf.path->used == 0) return HANDLER_GO_ON; 
     184 
    180185        uri_len = con->uri.path->used - 1; 
    181186