Skip to content

KIC Gateway API RequestRedirect filter implementation is missing ReplacePreffixMatch support #2473

@fgiudici

Description

@fgiudici

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions