diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/web_server/http.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/web_server/http.c b/source4/web_server/http.c index 44bda43964..43da3c9416 100644 --- a/source4/web_server/http.c +++ b/source4/web_server/http.c @@ -896,6 +896,7 @@ void http_process_input(struct websrv_context *web) p = strrchr(web->input.url, '.'); if (p == NULL) { page_type = page_type_esp; + file_type = "text/html"; } for (i=0;p && i<ARRAY_SIZE(mime_types);i++) { if (strcmp(mime_types[i].extension, p+1) == 0) { |