Skip to content

tests: fix CodeQL incomplete-url-substring-sanitization alert#15

Merged
danielturull merged 1 commit into
mainfrom
fix/code-scanning-alerts
Jun 9, 2026
Merged

tests: fix CodeQL incomplete-url-substring-sanitization alert#15
danielturull merged 1 commit into
mainfrom
fix/code-scanning-alerts

Conversation

@danielturull

Copy link
Copy Markdown
Contributor

Fixes GitHub code scanning alert #15.

Use exact equality assertion instead of substring check to avoid
CodeQL flagging the test as an incomplete URL sanitization.

The remaining open alerts are either repo-level settings (branch protection,
CII best practices) or the pinned-dependencies scorecard check for
pip install -e .[dev] which requires a hash-pinned constraints file.

Use exact equality assertion instead of substring check to avoid
CodeQL flagging the test as an incomplete URL sanitization.

Assisted-by: Kiro:claude-opus-4.6
Signed-off-by: Daniel Turull <daniel.turull@ericsson.com>
@danielturull danielturull merged commit 0235ab9 into main Jun 9, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant