commit | c65f656d75091db3087a752dbc956159392fc8f2 | [log] [tgz] |
---|---|---|
author | William Dauchy <w.dauchy@criteo.com> | Tue Nov 26 12:56:26 2019 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Wed Nov 27 11:51:35 2019 +0100 |
tree | fb835a2ab47a98ad3130a15adbfa88f5dab3ba18 | |
parent | 931285353059ac16c18884cb0c0ee16b8f9de434 [diff] |
BUG/MINOR: contrib/prometheus-exporter: decode parameter and value only we were decoding all substring and then parsing; this could lead to consider & and = in decoding result as delimiters where it should not. this patch reverses the order by first parsing and then decoding each key and value separately. we also stop parsing after number sign (#). This patch should be backported to 2.1 and 2.0 Signed-off-by: William Dauchy <w.dauchy@criteo.com>