commit | d1773e6881caba229575fa7e0525846697dd4e21 | [log] [tgz] |
---|---|---|
author | Oto Valek <oto@valek.net> | Fri Feb 24 21:39:56 2023 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Mar 01 14:09:46 2023 +0100 |
tree | ac71bd049d86f14c7ca08b78db7473f148db8a4d | |
parent | d48bfb6983a3d28183b068a4f8975c1c5cd05978 [diff] |
BUG/MINOR: http-fetch: recognize IPv6 addresses in square brackets in req.hdr_ip() If an IPv6 address is enclosed in square brackets [], trim them before calling inet_pton(). This is to comply with RFC7239 6.1 and RFC3986 3.2.2.