]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: http: base32+src should use the big endian version of base32
authorWilly Tarreau <w@1wt.eu>
Tue, 15 Jul 2014 19:34:06 +0000 (21:34 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 15 Jul 2014 19:36:10 +0000 (21:36 +0200)
commit5ad6e1dc09f0a85aabf86f154b1817b9ebffb568
treeecdb38e9a1690dd63c1525311f2d6454663b85dc
parentedee1d60b7868d61e6bfc18ea82d4480113501b0
BUG/MINOR: http: base32+src should use the big endian version of base32

We're using the internal memory representation of base32 here, which is
wrong since these data might be exported to headers for logs or be used
to stick to a server and replicated to other peers. Let's convert base32
to big endian (network representation) when building the binary block.

This mistake is also present in 1.5, it would be better to backport it.
src/proto_http.c