envoyproxy/envoy

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

Open

#8,218 创建于 2019年9月11日

在 GitHub 查看
 (4 评论) (0 反应) (0 负责人)C++ (5,373 fork)batch import
enhancementhelp wanted

仓库指标

Star
 (27,997 star)
PR 合并指标
 (平均合并 8天) (30 天内合并 378 个 PR)

描述

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.

贡献者指南