Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't modify the config in Validate (#71)
Instead of processing '*' and changing the configuration passed into Validate, which can break the configuration and cause unexpected panics, process it in newCors so the modification only exists in the internal copy of the configuration. Fixes #70
- Loading branch information
Showing
2 changed files
with
8 additions
and
5 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