Repository navigation
fix(classifier): parse homepage URLs safely - #1206
Merged
Merged
Conversation
Signed-off-by: Ching-Wei Kang <[email protected]>
nc9
force-pushed
the
codex/fix-is-root-path-903
branch
from
October 27, 2026 21:52
f8a0d7e to
97d788a
Compare
Contributor
|
Merged. Thank you @WilliamK112, moving the root check to the real URL parser (and the failing backslash regression test first) closed #903 properly. One note for later: relative and empty inputs now read as non-root, which no caller passes, so a test pinning that would be welcome. (Nik) |
nc9
added a commit
that referenced
this pull request
Oct 28, 2026
* origin/main: feat(contracts): free plan renders 2 pages at once, up from 1 (#1207) ci(deps): daily dependency advisory check files one issue when the release gate fails (#1217) docs(rules): the SEO rules page counts 26 structured data rules (#1213) build(deps): ignore GHSA-gcqx-w48m-w2h4 (deepmerge via ultracite, dev tooling only) to unblock the release gate (#1216) chore(release): v0.0.138 notes and version bump (#1212) feat(report,rules): link sections, component-aware findings, fix rollups, Page structure block (#1181) fix(classifier): parse homepage URLs safely, backslash paths are not the root (#1206) build(deps): ignore GHSA-wx4j-mvgx-mqwp (satori, docs build only) to unblock the release gate (#1210)
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.
Closes #903
What changed
Validation
bun test ./packages/page-classifier/tests/predict.test.ts(68 pass)bun test ./packages/page-classifier/tests(223 pass)bun run --cwd packages/page-classifier typecheckDocs: none (CHANGELOG updated). Skill: none.