Commit 3bd5149
committed
test(telegram): tighten link-URL assertion to silence CodeQL
Address CodeQL alert on PR #89: ``"wikipedia.org" in result`` matches an
arbitrary substring and tripped the URL-substring-sanitization heuristic.
Replace with a longer anchored fragment ``"https://en.wikipedia.org/wiki/Foo_"``
which both passes CodeQL and is a stronger render assertion.
This is test-only — no behavior change, no security boundary.
https://claude.ai/code/session_01FyMxQn2BEAzmwKS1GZczKj1 parent b1eea39 commit 3bd5149
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
286 | | - | |
287 | | - | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
288 | 290 | | |
289 | 291 | | |
290 | 292 | | |
| |||
0 commit comments