mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-04-17 04:26:59 +00:00
BUG/MINOR: payload: the patterns of the acl "req.ssl_ver" are no parsed with the good function.
The fetch "req.ssl_ver" is not declared as explicit acl. If it is used as implicit ACL, the acl engine detect SMP_T_UINT output type and choose to use the default interger parser: pat_parse_int(). This fetch needs the parser pat_parse_dotted_ver(). This patch declare explicit ACL named "req.ssl_ver" that use the good parser function pat_parse_dotted_ver().
This commit is contained in:
parent
4bd07de087
commit
e7054c7177
@ -687,6 +687,7 @@ static struct acl_kw_list acl_kws = {ILH, {
|
||||
{ "req_rdp_cookie_cnt", "req.rdp_cookie_cnt", pat_parse_int, pat_match_int },
|
||||
{ "req_ssl_sni", "req.ssl_sni", pat_parse_str, pat_match_str },
|
||||
{ "req_ssl_ver", "req.ssl_ver", pat_parse_dotted_ver, pat_match_int },
|
||||
{ "req.ssl_ver", "req.ssl_ver", pat_parse_dotted_ver, pat_match_int },
|
||||
{ /* END */ },
|
||||
}};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user