You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a followup to a surprisingly long thread on slack.
Our spec has a very detailed table of expectations for ReplacePrefixMatch field. However it does not cover the case where the Prefix Match(not the replacement) is "/".
This is a followup to a surprisingly long thread on slack.
Our spec has a very detailed table of expectations for
ReplacePrefixMatch
field. However it does not cover the case where thePrefix Match
(not the replacement) is "/".Adding the spec table here for convenience:
The ambiguity mostly come down to the case where Prefix Match is "/". Below are a few examples:
AND NOT is a language I used to reflect the proposed standardization. You can also be read it as OR if you have a different opinon.
Although there is no easy way in envoy to achieve this behavior (other non-envoy implementations, please shout if this is easily possible with your proxies), @howardjohn came up with a regex that makes this possible (ref https://github.com/istio/istio/pull/54939/files#diff-a0e8831b6aefb0ef9b2cd269fcd726b26fd1104120950952b5217a7b104ba153R1668-R1669)
Hoping this thread would result in a change to our spec to explicitly iron it out.
/cc @mikemorris @arkodg @robscott @howardjohn @kflynn
The text was updated successfully, but these errors were encountered: