mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
Escape log entries in access log (close: #1916)
svn path=/icecast/trunk/icecast/; revision=18755
This commit is contained in:
parent
67d91cc3d2
commit
bb07af1eb7
@ -698,6 +698,11 @@ static void _parse_mount(xmlDocPtr doc, xmlNodePtr node,
|
|||||||
current = current->next;
|
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)
|
if(last)
|
||||||
last->next = mount;
|
last->next = mount;
|
||||||
else
|
else
|
||||||
|
@ -159,7 +159,7 @@ void logging_access(client_t *client)
|
|||||||
user_agent = "-";
|
user_agent = "-";
|
||||||
|
|
||||||
log_write_direct (accesslog,
|
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,
|
client->con->ip,
|
||||||
username,
|
username,
|
||||||
datebuf,
|
datebuf,
|
||||||
|
Loading…
Reference in New Issue
Block a user