From 71255ea7f1e50105a33426c0b48ab0e174e7d278 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Mon, 13 Oct 2025 13:46:24 +0200 Subject: [PATCH] Protect class, property and pattern strings --- Resources/config/packages/rapsys_blog.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Resources/config/packages/rapsys_blog.yaml b/Resources/config/packages/rapsys_blog.yaml index 660ca0f..a6181c2 100644 --- a/Resources/config/packages/rapsys_blog.yaml +++ b/Resources/config/packages/rapsys_blog.yaml @@ -214,14 +214,14 @@ security: providers: database: entity: - class: Rapsys\BlogBundle\Entity\User - property: mail + class: 'Rapsys\BlogBundle\Entity\User' + property: 'mail' # Set firewall firewalls: # Disables authentication for assets and the profiler, adapt it according to your needs dev: - pattern: ^/(_(profiler|wdt)|css|images|js)/ + pattern: '^/(_(profiler|wdt)|css|images|js)/' security: false main: -- 2.41.3