-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cors) set 'Vary: Origin' when ACAC is enabled
When Access-Control-Allow-Origin is not *, the cors plugin normally sets `Vary: Origin`. In the case when the plugin sets Access-Control-Allow-Credentials, `Vary: Origin` is missing. When that happens, the browser is told to uses its cache even when the origin is different and then CORS fails by rejecting the non-matching origin. From Kong#3765
- Loading branch information
1 parent
2cdd07e
commit acdd89d
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters