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 Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,984 questions
0 comments No comments
{count} votes