Skip to content

feat: add "allow_origins_by_regex" to cors plugin #3763

Description

@spacewander

We can use regex to match if the request' Origin header is in the allow list.
People who want to implement it can take a look at: https://github.com/apache/apisix/blob/master/apisix/plugins/uri-blocker.lua

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions