Skip to content

DedupeResponseHeader with String configuration not working (solution added) #3538

@jensmatw

Description

@jensmatw

Describe the bug
It is not possible to use the deduperesponseheader filter when using yaml-based configuration of routes, because the @Shortcut annotation is missing.

Sample

filters:
  - DedupeResponseHeader=Access-Control-Allow-Credentials Access-Control-Allow-Origin

Does not work.

filters:
  - DedupeResponseHeader=Access-Control-Allow-Credentials Access-Control-Allow-Origin, RETAIN_FIRST

Does work.

I've also added a PR to solve the issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions