Commit 7d0001a
committed
test(viewer): read the rendered handler tag from the regex capture group
CodeQL flags the `replace('<', '')` as incomplete sanitization. The match
always starts with a single '<', but using the existing capture group is both
clearer and avoids the false positive.
Assisted-by: ClaudeCode:claude-opus-4-8
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>1 parent 4e34264 commit 7d0001a
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
132 | | - | |
| 131 | + | |
133 | 132 | | |
134 | 133 | | |
135 | 134 | | |
| |||
0 commit comments