diff options
| author | default <nobody@localhost> | 2025-01-06 17:02:01 +0100 |
|---|---|---|
| committer | default <nobody@localhost> | 2025-01-06 17:02:01 +0100 |
| commit | f6e06be2781a1e56f2fbc088e14d5788eeb4c237 (patch) | |
| tree | 715a7728114ad9c05c369e454c1e501305b7ff8e /httpd.c | |
| parent | 4a1270d1cb66416b7f718fc17f07b71ab24d6cf8 (diff) | |
In the /share page, set the charset explicitly to utf-8.
Diffstat (limited to 'httpd.c')
| -rw-r--r-- | httpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -308,7 +308,7 @@ int server_get_handler(xs_dict *req, const char *q_path, s = xs_str_new(NULL); status = HTTP_STATUS_OK; - *ctype = "text/html"; + *ctype = "text/html; charset=utf-8"; *body = xs_fmt(share_page, xs_dict_get(srv_config, "host"), srv_baseurl, |