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

Escape log entries in access log (close: #1916)

svn path=/icecast/trunk/icecast/; revision=18755
parent 67d91cc3
......@@ -698,6 +698,11 @@ static void _parse_mount(xmlDocPtr doc, xmlNodePtr node,
current = current->next;
}
if (!mount->fallback_mount && (mount->fallback_when_full || mount->fallback_override))
{
WARN1("Config for mount %s contains fallback options but no fallback mount.", mount->mountname);
}
if(last)
last->next = mount;
else
......
......@@ -159,7 +159,7 @@ void logging_access(client_t *client)
user_agent = "-";
log_write_direct (accesslog,
"%s - %s [%s] \"%s\" %d %" PRIu64 " \"%s\" \"%s\" %lu",
"%s - %H [%s] \"%H\" %d %" PRIu64 " \"%H\" \"%H\" %lu",
client->con->ip,
username,
datebuf,
......
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