Commit d67f0f5d authored by Philipp Schafft's avatar Philipp Schafft 🦁

Fix: Send Content-Disposition:-header correctly, closes #1953

parent 2cb5d1a3
...@@ -761,7 +761,7 @@ static void command_buildm3u(client_t *client, const char *mount) ...@@ -761,7 +761,7 @@ static void command_buildm3u(client_t *client, const char *mount)
config = config_get_config(); config = config_get_config();
snprintf(client->refbuf->data + ret, PER_CLIENT_REFBUF_SIZE - ret, snprintf(client->refbuf->data + ret, PER_CLIENT_REFBUF_SIZE - ret,
"Content-Disposition = attachment; filename=listen.m3u\r\n\r\n" "Content-Disposition: attachment; filename=listen.m3u\r\n\r\n"
"http://%s:%s@%s:%d%s\r\n", "http://%s:%s@%s:%d%s\r\n",
username, username,
password, password,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment