]> Raphaƫl G. Git Repositories - blogbundle/blobdiff - Resources/config/packages/rapsys_blog.yaml
Protect class, property and pattern strings
[blogbundle] / Resources / config / packages / rapsys_blog.yaml
index 660ca0f0be9ca855bfa670ef04ce24cc44dede41..a6181c2ff5daf734e082a1d93d2afc437e7cae80 100644 (file)
@@ -214,14 +214,14 @@ security:
     providers:
         database:
             entity:
     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:
 
     # 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:
             security: false
 
         main: