Skip to content

fix(gastown): validate PR link host#3856

Merged
RSO merged 1 commit into
mainfrom
fix/codeql-442-url-host
Jun 9, 2026
Merged

fix(gastown): validate PR link host#3856
RSO merged 1 commit into
mainfrom
fix/codeql-442-url-host

Conversation

@kilo-code-bot

@kilo-code-bot kilo-code-bot Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Resolves CodeQL alert 442 by parsing the PR URL and checking the hostname instead of searching for a github.com substring.
  • Preserves the existing GitHub-specific link label for github.com and its subdomains while treating other hosts as merge request links.

Verification

N/A (no manual verification performed; code-only URL host classification change).

Visual Changes

N/A

Reviewer Notes

  • Focused to CodeQL alert 442; no other URL handling changes.

@kilo-code-bot
kilo-code-bot Bot requested a review from RSO June 9, 2026 09:36
@RSO
RSO merged commit 08439fd into main Jun 9, 2026
16 checks passed
@RSO
RSO deleted the fix/codeql-442-url-host branch June 9, 2026 12:17
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.

2 participants