haproxy/reg-tests/jwt
Remi Tricot-Le Breton 7da35bff9f BUG/MINOR: http: http_auth_bearer fetch does not work on custom header name
The http_auth_bearer sample fetch can take a header name as parameter,
in which case it will try to extract a Bearer value out of the given
header name instead of the default "Authorization" one. In this case,
the extraction would not have worked because of a misuse of strncasecmp.
This patch fixes this by replacing the standard string functions by ist
ones.
It also properly manages the multiple spaces that could be found between
the scheme and its value.

No backport needed, that's part of JWT which is only in 2.5.

Co-authored-by: Tim Duesterhus <tim@bastelstu.be>
2021-10-29 17:40:17 +02:00
..
es256-public.pem REGTESTS: jwt: Add tests for the jwt_verify converter 2021-10-14 16:38:14 +02:00
es384-public.pem REGTESTS: jwt: Add tests for the jwt_verify converter 2021-10-14 16:38:14 +02:00
es512-public.pem REGTESTS: jwt: Add tests for the jwt_verify converter 2021-10-14 16:38:14 +02:00
jws_verify.vtc BUG/MINOR: http: http_auth_bearer fetch does not work on custom header name 2021-10-29 17:40:17 +02:00
rsa-public.pem REGTESTS: jwt: Add tests for the jwt_verify converter 2021-10-14 16:38:14 +02:00