diff options
Diffstat (limited to 'modules/generators')
-rw-r--r-- | modules/generators/mod_autoindex.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/generators/mod_autoindex.c b/modules/generators/mod_autoindex.c index f1c08b4b12..3cafd44b0c 100644 --- a/modules/generators/mod_autoindex.c +++ b/modules/generators/mod_autoindex.c @@ -2060,11 +2060,11 @@ static int index_directory(request_rec *r, #endif } if (*charset) { - ap_set_content_type(r, apr_pstrcat(r->pool, ctype, ";charset=", - charset, NULL)); + ap_set_content_type_ex(r, apr_pstrcat(r->pool, ctype, ";charset=", + charset, NULL), 1); } else { - ap_set_content_type(r, ctype); + ap_set_content_type_ex(r, ctype, 1); } if (autoindex_opts & TRACK_MODIFIED) { |