We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Istio 1.5 doesn't allow negative lookahead regex.
With Istio 1.4 it was possible to target a specific browser e.g.:
match: - headers: user-agent: regex: "^(?!.*(?:Chrome|Edge)).*Safari.*"
Such a configuration doesn't work with Istio 1.5, the gateway rejects it:
RouteConfiguration rejected: invalid perl operator: (?!
Upgrading from Istio 1.4 to Istio 1.5 will result in downtime if you are using negative lookahead regex in virtual services.
The text was updated successfully, but these errors were encountered:
Long story short: Envoy has switched to Google's re2 regex engine in envoyproxy/envoy#7878 and re2 does not support before/after text not matching https://github.com/google/re2/wiki/Syntax.
Sorry, something went wrong.
No branches or pull requests
Istio 1.5 doesn't allow negative lookahead regex.
With Istio 1.4 it was possible to target a specific browser e.g.:
Such a configuration doesn't work with Istio 1.5, the gateway rejects it:
Upgrading from Istio 1.4 to Istio 1.5 will result in downtime if you are using negative lookahead regex in virtual services.
The text was updated successfully, but these errors were encountered: