Commit 0bb9b84
fix(patch): adjust to not trip false positives (#302)
fix(patch): adjust to not trip false positives
• ‹token› is being used by GitHub, even though we replace it for a dummy
value that has no meaning, it still looks like a valid token, so it
triggers the “Data leak protection”
• ‹Set-Cookie› is used by Pagure, it appears that it contains a cookie
for authenticating the session; same as before, not valid anymore, but
for the safety reasons
· also it looks like the replacement is case-sensitive as there is
already one replacement defined for ‹set-cookie›
Reviewed-by: Maja Massarini2 files changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
0 commit comments