commit | 5c6f86f465b79536fc0ceb2a4740fbcbb6dbab71 | [log] [tgz] |
---|---|---|
author | Aurelien DARRAGON <adarragon@haproxy.com> | Fri Dec 30 16:23:08 2022 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Fri Jan 27 15:18:59 2023 +0100 |
tree | 0df1794fe461cac4081e4b17d06c1144822d4213 | |
parent | 82faad1069e86c5e25b12ffa214b2c2d1f88c305 [diff] |
MINOR: http_ext: add rfc7239_is_valid converter Adding new http converter: rfc7239_is_valid. Takes a string representing 7239 forwarded header single value as input and returns bool:TRUE if header is RFC compliant and bool:FALSE otherwise. Example: acl valid req.hdr(forwarded),rfc7239_is_valid #input: "for=127.0.0.1;proto=http" # output: TRUE #input: "proto=custom" # output: FALSE Depends on: - "MINOR: http_ext: introduce http ext converters"