BUG/MEDIUM: http: fix improper parsing of HTTP methods for use with ACLs
authorWilly Tarreau <w@1wt.eu>
Fri, 29 Aug 2014 13:15:50 +0000 (15:15 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 29 Aug 2014 13:15:50 +0000 (15:15 +0200)
commit912c119557873e8ae4835eff95f48fd4971a30cb
tree9ffd42a98e5bf0c846a9b58524abe6c01d9625e1
parent4de2a94165f25136b2b42933f17601479800bbc1
BUG/MEDIUM: http: fix improper parsing of HTTP methods for use with ACLs

pat_parse_meth() had some remains of an early implementation attempt for
the patterns, it initialises a trash and never sets the pattern value there.
The result is that a non-standard method cannot be matched anymore. The bug
appeared during the pattern rework in 1.5, so this fix must be backported
there. Thanks to Joe Williams of GitHub for reporting the bug.
src/proto_http.c