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

Ensure catch-all routes do not take precedence #2669

Merged
merged 1 commit into from
Oct 14, 2024
Merged

Ensure catch-all routes do not take precedence #2669

merged 1 commit into from
Oct 14, 2024

Conversation

ifox
Copy link
Member

@ifox ifox commented Oct 14, 2024

Fixes #2646 by moving to a regular service provider instead of inheriting from Laravel's route service provider, because it loads routes after boot, but we need them registered as soon as the router is resolved.

This is a problem that affected first-party Laravel tools like Pulse, too: laravel/pulse@9ab920b

Fixes #2646 by moving to a regular service provider instead of inheriting from Laravel's route service provider, because it loads routes after boot, but we need registered as soon as the router is resolved.

This is a problem that affected first-party Laravel tools like Pulse, too: laravel/pulse@9ab920b
@ifox ifox merged commit 70da900 into 3.x Oct 14, 2024
8 checks passed
@ifox ifox deleted the fix/catch-all branch October 14, 2024 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Laravel 11 + catch-all route results in /admin route throwing 404
1 participant