envoyproxy / envoyproxy/envoy

CORS. Dynamic set access-control-allow-headers from access-control-request-headers

Open
#8,218 4 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
C++
Stars
28.9k
Forks
5.6k
Avg merge
1d 22h
Merged PRs (30d)
430

Description

*Title*: *Feature request. Set access-control-allow-headers dynamically from access-control-request-headers with rule*

*Description*:

Now cors filter set response header `access-control-allow-headers` to `allow_headers` value from config. Wildcard not support/work in `access-control-allow-headers` in browser if `access-control-request-headers` set in request. Best practice resolve this problem, set `access-control-allow-headers` to value `access-control-request-headers` if wildcard in config.

Will this implement in envoy? Thanks.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.