You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Trailing slash options isn't enforced with splat route #5385
The generated path is always /some-testing/route/ regardless of trailingSlash option. If we try to instead of {{ _splat: undefined }} the route is /some-testing/route/undefined which is also incorrect.
Hover over Trailing Slash link and notice the href ends in slash
Expected behavior
Because the default trailingSlash option is set to never, it should always remove the trailing slash. Also, an undefined _splat should probably not render as undefined.
Activity
paul-sachs commentedon Oct 6, 2025
I can submit a PR to fix this but i just want to make sure this is indeed unexpected behaviour.