mirror of
https://github.com/emikulic/darkhttpd.git
synced 2023-08-10 21:13:08 +03:00
Use UTF-8 as the encoding for directory listing.
This commit is contained in:
parent
72159c5010
commit
4edc50c42f
@ -1864,7 +1864,7 @@ static void generate_dir_listing(struct connection *conn, const char *path) {
|
||||
"Accept-Ranges: bytes\r\n"
|
||||
"%s" /* keep-alive */
|
||||
"Content-Length: %llu\r\n"
|
||||
"Content-Type: text/html\r\n"
|
||||
"Content-Type: text/html; charset=UTF-8\r\n"
|
||||
"\r\n",
|
||||
date, server_hdr, keep_alive(conn), llu(conn->reply_length));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user