Current Behavior
ReplacePrefixMatch type for RequestRedirect filter is not honored.
Example HTTPRoute snippet:
kind: HTTPRoute
...
spec:
rules:
- matches:
- path:
type: PathPrefix
value: /cayenne
filters:
- type: RequestRedirect
requestRedirect:
path:
type: ReplacePrefixMatch
replacePrefixMatch: /paprika
Expected Behavior
ReplacePrefixMatch type for RequestRedirect filter is honored.
Additional Notes
- there is no 1:1 mapping from HTTPRoute filter to
KongPlugin to support this option.
RequestRedirect filter belongs to the CORE Gateway API conformance level set.