mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-11-24 20:31:00 +01:00
BUG/MINOR: log: The log of quotted capture header has been terminated by 2 quotes.
Julien Vehent repport that the log format '%{+Q}hr' display the value
termnated by two chars '"' like this: '"value""'. This patch just remove
the second quote.
This bug is old but 1.5-specific but users of older 1.5 versions may be
interested in a backport.
This commit is contained in:
parent
338a031e29
commit
da5d4a5560
@ -1420,8 +1420,6 @@ int build_logline(struct session *s, char *dst, size_t maxsize, struct list *lis
|
|||||||
if (tmp->options & LOG_OPT_QUOTE)
|
if (tmp->options & LOG_OPT_QUOTE)
|
||||||
LOGCHAR('"');
|
LOGCHAR('"');
|
||||||
last_isspace = 0;
|
last_isspace = 0;
|
||||||
if (tmp->options & LOG_OPT_QUOTE)
|
|
||||||
LOGCHAR('"');
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user