Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TanStack Router SSR Route ID Leak Repro

This is a minimal TanStack Start app that reproduces crawler-visible internal route IDs in SSR HTML on current published packages.

It models route IDs like these:

  • /_marketing/blog/$slug
  • /_marketing/doc/$docId
  • /app/_authenticated/_dashboard/settings/integrations

Those IDs should be internal router identifiers, but they can appear in the SSR payload. Search crawlers can normalize script content and discover them as URL-shaped paths.

Reproduce

pnpm install
pnpm build
pnpm start

In another terminal:

pnpm scan

Expected result on affected versions: pnpm scan prints LEAK ... entries and exits non-zero.

Expected result after the upstream fix: pnpm scan prints OK ... for every URL and exits zero.

Versions

  • @tanstack/react-router: 1.169.1
  • @tanstack/react-start: 1.167.63

About

Minimal TanStack Start reproduction for crawler-visible SSR route IDs

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages