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:
bplaxco authored and GitHub committed 2025-05-12 11:22:36 -05:00
1 parent 6f967cad68
commit 78eebaca9d
14 files changed
+945 -373

No files matched your search

@@ -70,7 +70,7 @@
# goes outside the bounds of the encoded value
id = 'overlapping'
description = 'Overlapping'
regex = '''secret=(decoded-secret-value)'''
regex = '''secret=(decoded-secret-value\w*)'''
tags = ['overlapping']
secretGroup = 1