]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: http: the function "(req|res)-replace-value" doesn't respect the HTTP...
authorThierry FOURNIER <tfournier@haproxy.com>
Mon, 16 Mar 2015 22:23:53 +0000 (23:23 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 17 Mar 2015 10:42:43 +0000 (11:42 +0100)
commit191f9efdc58f21af1d9dde3db5ba198d7f1ce22e
treea9b794e7ea4eeeb2bc0c805afd5c06acc2467ff5
parent534101658d6e19aeb598bf7833a8ce167498c4ed
BUG/MEDIUM: http: the function "(req|res)-replace-value" doesn't respect the HTTP syntax

These function used an invalid header parser.
 - The trailing white-spaces were embedded in the replacement regex,
 - The double-quote (") containing comma (,) were not respected.

This patch replace this parser by the "official" parser http_find_header2().
src/proto_http.c