Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(route-not-found): Correctly render route not found page when missing trailing slash #87244

Merged
merged 1 commit into from
Mar 18, 2025

Conversation

malwilley
Copy link
Member

To reproduce, go to a missing route page without a trailing slash, like: https://sentry.sentry.io/issues/123/abc. You will see a blank page.

For whatever reason, the router.replace was not doing anything. Switching to navigate however, does work as expected.

@malwilley malwilley requested a review from a team March 17, 2025 22:30
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Mar 17, 2025
Copy link
Member

@billyvg billyvg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

damn how long has this been broken for

@malwilley malwilley merged commit ba7b3ab into master Mar 18, 2025
42 checks passed
@malwilley malwilley deleted the malwilley/fix/route-not-found-slash branch March 18, 2025 17:30
Copy link

sentry-io bot commented Mar 20, 2025

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

  • ‼️ Error: Route not found /* View Issue
  • ‼️ Error: Route not found /organizations/:orgId/stats/ View Issue

Did you find this useful? React with a 👍 or 👎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants