Commit cab5728
committed
Remove system directory write blocks from dangerous-command-blocker
The redirect patterns matched text content inside command arguments
(e.g. PR body text containing example paths), causing false positives.
Write location enforcement is the scope guard's responsibility, not
the dangerous-command-blocker's.1 parent a70105c commit cab5728
File tree
3 files changed
+8
-25
lines changed- container
- .devcontainer
- plugins/devs-marketplace/plugins/dangerous-command-blocker/scripts
- tests/plugins
3 files changed
+8
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
10 | 14 | | |
11 | 15 | | |
12 | 16 | | |
| |||
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | 58 | | |
64 | 59 | | |
65 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
| 121 | + | |
141 | 122 | | |
142 | 123 | | |
143 | 124 | | |
| |||
229 | 210 | | |
230 | 211 | | |
231 | 212 | | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
232 | 216 | | |
233 | 217 | | |
234 | 218 | | |
| |||
0 commit comments