use physical.rel_path instead url.path to handle case-insensitive file-systems in the right way

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@923 152afb58-edef-0310-8abb-c4023f1b3aa9
This commit is contained in:
Jan Kneschke 2006-01-06 02:36:54 +00:00
parent 77083977ae
commit 415e215746
3 changed files with 4 additions and 4 deletions

View File

@ -3389,8 +3389,8 @@ static handler_t fcgi_check_extension(server *srv, connection *con, void *p_d, i
/* Possibly, we processed already this request */
if (con->file_started == 1) return HANDLER_GO_ON;
fn = con->uri.path;
fn = uri_path_handler ? con->uri.path : con->physical.rel_path;
if (fn->used == 0) {
return HANDLER_ERROR;

View File

@ -2677,7 +2677,7 @@ static handler_t scgi_check_extension(server *srv, connection *con, void *p_d, i
/* Possibly, we processed already this request */
if (con->file_started == 1) return HANDLER_GO_ON;
fn = con->uri.path;
fn = uri_path_handler ? con->uri.path : con->physical.rel_path;
if (fn->used == 0) {
return HANDLER_ERROR;

View File

@ -382,7 +382,7 @@ URIHANDLER_FUNC(mod_staticfile_subrequest) {
if (ds->value->used == 0) continue;
if (0 == strncmp(con->uri.path->ptr + s_len - ct_len, ds->value->ptr, ct_len)) {
if (0 == strncmp(con->physical.rel_path->ptr + s_len - ct_len, ds->value->ptr, ct_len)) {
return HANDLER_GO_ON;
}
}