From: Raphaƫl Gertz Date: Mon, 13 Oct 2025 11:46:24 +0000 (+0200) Subject: Protect class, property and pattern strings X-Git-Tag: 0.0.1~47 X-Git-Url: https://git.rapsys.eu/blogbundle/commitdiff_plain/71255ea7f1e50105a33426c0b48ab0e174e7d278 Protect class, property and pattern strings --- 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: