Project

General

Profile

lighttpd-1.4.19_force_lowercase_filenames_in_mod_userdir.patch

kaank, 2008-03-12 06:53

View differences:

lighty-dev/src/mod_userdir.c 2008-03-12 17:44:43.000000000 +1100
286 286

  
287 287
	BUFFER_APPEND_SLASH(p->temp_path);
288 288
	buffer_append_string(p->temp_path, rel_url + 1); /* skip the / */
289

  
290
    if (con->conf.force_lowercase_filenames) {
291
        buffer_to_lower(p->temp_path);
292
    }
293

  
289 294
	buffer_copy_string_buffer(con->physical.path, p->temp_path);
290 295

  
291 296
	buffer_reset(p->temp_path);