Application Gateway for Containers - RegularExpression for header matcher not working in HTTPRoute

Alexander K 0 Reputation points
2024-07-18T18:47:39.6566667+00:00

Contrary to what is described in the docs (see green box "Tip") using the type "RegularExpression" to match a header value does not work. It seems that ANY value is accepted no matter what kind of regular expression I use (even if it is characters only like "foo"). In fact, it doesn't even check if a header exists at all. As soon as I switch the type to "Exact", everything works as expected.

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,008 questions
0 comments No comments
{count} votes