Repository navigation
Release v1.25.1
Release v1.25.1
Changelog
Bundle routes are opt-in again on Symfony >= 7.3 (REQ-SF-004 rule 7). See UPGRADING.
Security
- Panel routes registered without being imported (REQ-SF-004 rule 7). On Symfony >= 7.3 every autoconfigured
#[Route]controller gets therouting.controllertag (#[AsController]also autoconfigured the controllers), so a host whoseconfig/routes.yamlholds the defaultcontrollers: { resource: routing.controllers }loaded the backup panel routes withoutpanel.path_prefix— the panel on/(over the host home page),/create,/restore/{id},/delete/{id},/progress.json,/history, outside any firewall oraccess_controlrule written for the panel path — even when the host never imported@NowoSiteBackupBundle/Resources/config/routes.yaml. The controllers are no longer autoconfigured and no longer carry#[AsController](explicitcontroller.service_argumentstag); the panel and setup routes come only fromPanelRouteLoader/SetupRouteLoader. Regression test with a kernel that only loadsrouting.controllers.
What's Changed
- fix(routing): keep bundle routes opt-in (REQ-SF-004 rule 7) by @HecFranco in #31
Full Changelog: v1.25.0...v1.25.1