Skip to content

Commit 2aabf28

Browse files
authored
Fix JWT bug
1 parent 675e24c commit 2aabf28

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

jwt/README.md

+6
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,9 @@ e[A-Za-z0-9-_=]{14,}\.e[A-Za-z0-9-_=]{14,}\.?[A-Za-z0-9-_=]*
1717
```
1818
[^0-9A-Za-z-_\\.]|\z
1919
```
20+
21+
**Additional Not Match:**
22+
23+
```
24+
(/|=)
25+
```

jwt/__snapshots__/jwt.csv

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
secret_type,secret_type_display_name,secret,path,start_line,end_line,start_column,end_column
2-
"jwt","JWT","a1f4d8625767e3a273b2f3d42c5b543208d8bc657c4adc20831e8b5a24f670bb","jwt/example.txt","10","10","1","52",
32
"jwt","JWT","1676bd1c75bda462c41749835f9c65ca1fcf006c8dbaddfc4498f897a8cc068d","jwt/owasp-juice-shop.ts","264","264","79","775",
43
"jwt","JWT","7f75367e7881255134e1375e723d1dea8ad5f6a4fdb79d938df1f1754a830606","jwt/example.txt","2","2","1","156",

jwt/patterns.yml

+2
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ patterns:
1111
[^0-9A-Za-z-_\\.]|\A
1212
end: |
1313
[^0-9A-Za-z-_\\.]|\z
14+
additional_not_match:
15+
- "(/|=)"

0 commit comments

Comments
 (0)