-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix regex for filtering credentials from logs
The ending "=" character of a base64 encoded string is padding. When the input length is a multiple of three (which is the case for our account id and license key), the output would not have the padding character. This results in our credentials not being filtered in the logs. This fixes the regex by removing the incorrect assumption. https://en.wikipedia.org/wiki/Base64#Output_padding
- Loading branch information
1 parent
69822e9
commit bb25e4d
Showing
2 changed files
with
21 additions
and
1 deletion.
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