Repository navigation
fix: Allow bracket characters in repo path validation - #1238
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
tanstack-com | 96259f1 | Oct 14 2026, 09:44 AM |
|
Important Review skippedBot user detected. To trigger a single review, invoke the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
|
Merged current main into this branch and resolved the validator conflict, preserving bracket support and adding route-group parentheses. Added a regression using the real Router example path
|
This PR updates the
REPO_PATH_SEGMENT_PATTERNregex insrc/utils/repo-path.tsto include[,],(, and)characters.TanStack Router uses these characters for file-based routing conventions, such as escaping literal dots (
[.]) and defining route groups ((group)). Previously, the path validation would reject legitimate example file paths containing these characters, leading to an "Error: [" issue when trying to load such examples.This change ensures that valid router-convention paths are correctly processed. It does not introduce any security vulnerabilities as existing checks for path traversal (e.g.,
..,//, leading/trailing/) remain in place.Fixes TANSTACK-COM-4ZF
This PR was automatically generated by Sentry. You can adjust this setting at any time.