Commit f7232b7
authored
YETUS-1266. Escape regex metacharacters in author plugin ignore list (#366)
The author_postcompile function writes --author-ignore-list entries directly into a grep -E filter
file without escaping. Filenames containing regex metacharacters (parentheses, brackets, etc.) are
silently misinterpreted as pattern syntax, causing those files to pass through unfiltered.1 parent 03febdf commit f7232b7
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
151 | 156 | | |
152 | 157 | | |
153 | 158 | | |
| |||
0 commit comments