mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-26 07:30:34 +00:00
BUG/MEDIUM: pattern: "pat_parse_dotted_ver()" set bad expect_type.
This is a regression introducted by the patches "MINOR: pattern: Each pattern sets the expected input type" and "MEDIUM: acl: Last patch change the output type". The expected value is SMP_T_CSTR in place of SMP_T_UINT. This bug impact all the acl using the parser "pat_parse_dotted_ver()". The two acl are "req_ssl_ver()" and "req.ssl_ver()". This is a recent bug, no backport is needed.
This commit is contained in:
parent
25002d206b
commit
59ad9d6593
@ -495,7 +495,7 @@ int pat_parse_dotted_ver(const char **text, struct pattern *pattern, enum pat_us
|
||||
return 0;
|
||||
}
|
||||
|
||||
pattern->expect_type = SMP_T_CSTR;
|
||||
pattern->expect_type = SMP_T_UINT;
|
||||
|
||||
if (!last)
|
||||
pattern->val.range.min = i;
|
||||
|
Loading…
Reference in New Issue
Block a user