Skip to content

Conversation

Maarten-Dekker
Copy link
Contributor

@Maarten-Dekker Maarten-Dekker commented Mar 2, 2025

This PR updates the Route::redirect for the settings route to include a leading slash in the destination path. Previously, the redirect caused issues when accessing /settings/ with a trailing slash, as Laravel would not properly resolve the relative path.

Testing:

  • Visit /settings → should redirect correctly.
  • Visit /settings/ → should now also redirect correctly.
  • Confirm that /settings/profile loads as expected.

Copy link
Contributor

@tnylea tnylea left a comment

Choose a reason for hiding this comment

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

Excellent! Just tested as well.

Thanks for the details on how to replicate the issue.

@tnylea tnylea added the Approved Approved for merge label Mar 3, 2025
@taylorotwell taylorotwell merged commit b18bb6f into laravel:main Mar 4, 2025
2 checks passed
D4ve-R pushed a commit to D4ve-R/vue-starter-kit that referenced this pull request Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Approved Approved for merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants