fix(website): Validate GitHub repository URLs - #102
Merged
Conversation
Codecov Results 📊✅ 212 passed | Total: 212 | Pass Rate: 100% | Execution Time: 372ms 📊 Comparison with Base Branch
All tests are passing successfully. ✅ Patch coverage is 87.50%. Project has 684 uncovered lines. Files with missing lines (1)
Coverage diff@@ Coverage Diff @@
## main #PR +/-##
==========================================
+ Coverage 61.37% 61.60% +0.23%
==========================================
Files 24 25 +1
Lines 1761 1777 +16
Branches 1269 1281 +12
==========================================
+ Hits 1079 1093 +14
- Misses 682 684 +2
- Partials 105 107 +2Generated by Codecov Action |
Parse submitted repository URLs before checking their hostname to reject embedded and lookalike hosts.
MathurAditya724
force-pushed
the
codex/fix-github-url-parsing
branch
from
September 4, 2026 18:21
a4c8f05 to
a3d929a
Compare
MathurAditya724
marked this pull request as ready for review
September 4, 2026 18:27
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The repository form now parses submitted URLs and accepts URL input only when its hostname is exactly
github.com. Existingowner/reposhorthand and canonical GitHub URLs continue to work, while embedded and lookalike hosts are rejected.Regression coverage includes the bypass variants reported by CodeQL alert #2.