Skip to content

Release v1.6.3

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Oct 19:07

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 them routing.controller and a host's default controllers: { 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, without web_ui.path_prefix — even when the host never imported @NowoContactFormBundle/Resources/config/routes.yaml. (The admin routes stayed behind ContactFormAdminAccessSubscriber, which guards by route name.) The controllers are now registered with autoconfigure: false and explicit controller.service_arguments / container.service_subscriber tags: the routes exist only where the host imports routes.yaml. Regression test with a kernel whose routing is only routing.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