treat uploaded .html files as text/html by default
This commit is contained in:
Родитель
0b839c4f77
Коммит
1f2294d585
|
@ -517,7 +517,7 @@ static const char * ContentTypeForFilename (const char *filename,
|
|||
{".jpg", "image/jpeg"},
|
||||
{".jpeg", "image/jpeg"},
|
||||
{".txt", "text/plain"},
|
||||
{".html", "text/plain"}
|
||||
{".html", "text/html"}
|
||||
};
|
||||
|
||||
if(prevtype)
|
||||
|
|
Загрузка…
Ссылка в новой задаче