Changes with Apache 2.0.36
+ *) Make mod_mime use case-insensitive matching when examining
+ extensions on all platforms. PR 8223. [Justin Erenkrantz]
+
*) Add an intelligent error message should no proxy submodules be
valid to handle a request. PR 8407 [Graham Leggett]
char *key = apr_pstrdup(cmd->temp_pool, ext);
char *value = apr_pstrdup(cmd->pool, value_);
ap_str_tolower(value);
-#ifdef CASE_BLIND_FILESYSTEM
ap_str_tolower(key);
-#endif
+
if (*key == '.')
++key;
if (!m->extension_mappings) {
}
suffix = (attrib_info *) apr_array_push(m->remove_mappings);
suffix->name = apr_pstrdup(cmd->pool, ext);
-#ifdef CASE_BLIND_FILESYSTEM
ap_str_tolower(suffix->name);
-#endif
suffix->offset = (int) (long) cmd->info;
return NULL;
}
while (ll[0]) {
char *ext = ap_getword_conf(p, &ll);
- ap_str_tolower(ext); /* ??? */
+ ap_str_tolower(ext);
apr_hash_set(mime_type_extensions, ext, APR_HASH_KEY_STRING, ct);
}
}
found = 0;
-#ifdef CASE_BLIND_FILESYSTEM
- /* We have a basic problem that folks on case-crippled systems
- * expect anything and everything to succeed
- */
ap_str_tolower(ext);
-#endif
if (conf->extension_mappings != NULL) {
exinfo = (extension_info*)apr_hash_get(conf->extension_mappings,