-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Truncate value string to code scanning alert
There was a `Polynomial regular expression used on uncontrolled data` alert due to the potential length of the string on which we're then calling match. The fix is to truncate the string. The assumption here is that any such string would include a very long key, so the cropping includes an ending "}".
- Loading branch information
1 parent
b440a73
commit 75fbcc8
Showing
2 changed files
with
7 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