]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: h1: enlarge the scope of accepted version chars with accept-invalid-http...
authorWilly Tarreau <w@1wt.eu>
Tue, 24 May 2022 13:34:26 +0000 (15:34 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 24 May 2022 13:38:54 +0000 (15:38 +0200)
commit1ba30167a029883badfb8fa8dd0fe0239d9a9237
tree06d09c25f0a375bde88cb49783cad93c4dd0189a
parent8f4116ea6589bcf02474622f0af4baee276e56b5
MEDIUM: h1: enlarge the scope of accepted version chars with accept-invalid-http-request

We used to support both RTSP and HTTP protocol version names with and
without accept-invalid-http-request, but since this is based on the
characters themselves, any protocol made of chars {0-9/.HPRST} was
possible and not others. Now that such non-standard protocols are
restricted to accept-invalid-http-request, there's no reason for not
allowing other letters. With this patch, characters {0-9./A-Z} are
permitted when the option is set.
doc/configuration.txt
src/http.c