mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 13:14:22 +01:00
Percent/URL Decoding Support (#1831)
* Add initial percent decoding support * Refactor multi encoding support * Add detect tests to confirm positions * Avoid a few extra passes during decoding * Do multiple passes for finding encodings re * Fix issue with overlapping encodings when doing separate passes
This commit is contained in:
1 parent
6f967cad68
commit
78eebaca9d
14 files changed
+945
-373
No files matched your search
@@ -449,7 +449,9 @@ ways:
|
||||
|
||||
Currently supported encodings:
|
||||
|
||||
- `base64` (both standard and base64url)
|
||||
- **percent** - Any printable ASCII percent encoded values
|
||||
- **hex** - Any printable ASCII hex encoded values >= 32 characters
|
||||
- **base64** - Any printable ASCII base64 encoded values >= 16 characters
|
||||
|
||||
#### Reporting
|
||||
|
||||
|
||||
Reference in new issue
Block a user