-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request from GHSA-j5g3-5c8r-7qfx
If a provided API key had characters that were invalid as header values, usage reporting and schema reporting requests would fail and log the API key. This change implements two fixes to improve this: * Trim the API key of any whitespace and log a warning * Throw an error on startup if the key contains invalid characters after being `.trim()`med.
- Loading branch information
1 parent
755770e
commit f0c84d4
Showing
2 changed files
with
68 additions
and
4 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