-
-
Notifications
You must be signed in to change notification settings - Fork 615
Open
Description
Bug description
I've enabled trailing slashes within the AppServiceProvider boot method. Doing this breaks the control panels collection breadcrumb navigation paths.
It also breaks the asset container paths, meaning if you have two different asset containers (Assets, PDFs) you can no longer get to the second container.
How to reproduce
Add this to the boot method of your AppServiceProvider:
use Statamic\Facades\URL;
URL::enforceTrailingSlashes();
Logs
Environment
Environment
Application Name: Statamic
Laravel Version: 12.53.0
PHP Version: 8.4.16
Composer Version: 2.9.5
Environment: local
Debug Mode: ENABLED
URL: test-statamic-six.test
Maintenance Mode: OFF
Timezone: UTC
Locale: en
Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED
Drivers
Broadcasting: log
Cache: file
Database: sqlite
Logs: stack / single
Mail: log
Queue: sync
Session: file
Storage
public/storage: NOT LINKED
Statamic
Addons: 0
Sites: 1
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 6.4.1 PROInstallation
Fresh statamic/statamic site via CLI
Additional details
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels