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.

貢獻者指南