Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
webui: serve files with UTF-8 instead utf-8 filename encoding
  • Loading branch information
perexg committed Jul 6, 2015
1 parent 41e0a26 commit c76e53f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webui/webui.c
Expand Up @@ -1210,7 +1210,7 @@ page_dvrfile(http_connection_t *hc, const char *remain, void *opaque)
htsbuf_append_and_escape_url(&q, basename);
str = htsbuf_to_string(&q);
snprintf(disposition, sizeof(disposition),
"attachment; filename=\"%s\"; filename*=utf-8''%s",
"attachment; filename=\"%s\"; filename*=UTF-8''%s",
str0, str);
htsbuf_queue_flush(&q);
free(str);
Expand Down

0 comments on commit c76e53f

Please sign in to comment.