Repository navigation
Commit 58cbf81
committed
fix: escape every regexp metacharacter in the handler map name
The name was escaped for `$` and `.` alone, so one carrying a bracket or a
backslash would have been read as regexp syntax rather than matched literally.
The three globals it is called with are unaffected; CodeQL reports the gap.1 parent 6c6884f commit 58cbf81
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
| |||
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
23 | | - | |
| 27 | + | |
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
| |||
0 commit comments