Repository navigation
v1.6.3
Changelog
Security: bundle routes are opt-in again; controllers are no longer autoconfigured, so a host's routing.controllers import does not expose them (REQ-SF-004 rule 7). See UPGRADING.
Security
- Contact form routes registered without being imported (REQ-SF-004 rule 7): the controller services were autoconfigured, so on Symfony >= 7.3 their
#[Route]tagged themrouting.controllerand a host's defaultcontrollers: { resource: routing.controllers }registered every bundle route — the unauthenticated public form (GET|POST /{_locale}/contact/{slug},/contact/{slug}) and the admin pages at the root, withoutweb_ui.path_prefix— even when the host never imported@NowoContactFormBundle/Resources/config/routes.yaml. (The admin routes stayed behindContactFormAdminAccessSubscriber, which guards by route name.) The controllers are now registered withautoconfigure: falseand explicitcontroller.service_arguments/container.service_subscribertags: the routes exist only where the host importsroutes.yaml. Regression test with a kernel whose routing is onlyrouting.controllers.
What's Changed
- fix(routing): keep bundle routes opt-in (REQ-SF-004 rule 7) by @HecFranco in #51
Full Changelog: v1.6.2...v1.6.3