Skip to content

bug: cors plugin return repeated cross-domain header  #1704

Description

@Donghui0

Issue description

When the backend also returns cross-domain headers, using cors plugin will cause duplicate cross-domain headers
for example:
backend code set header:

image

enable cors plugin, then response header like this :

image

Environment

  • apisix version (cmd: apisix version): 1.2
  • OS: centos7.6

What's the expected result?

remove duplicate headers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions