Commit 44eb9ac
authored
fix: extend whitespace detection in generic-api-key (#343)
<!--
Thanks for contributing to 2ms by offering a pull request.
-->
**Proposed Changes**
<!--
Increasing whitespace limit to better address secrets spread in newlines
with increased identation
-->
**Checklist**
- [x] I covered my changes with tests.
- [ ] I Updated the documentation that is affected by my changes:
- [ ] Change in the CLI arguments
- [ ] Change in the configuration file
I submit this contribution under the Apache-2.0 license.1 parent b1ebc31 commit 44eb9ac
2 files changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
187 | 192 | | |
188 | 193 | | |
189 | 194 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments