Skip to content

Commit

Permalink
[AllBundles] Add csrf protection to multiple routes
Browse files Browse the repository at this point in the history
Fixes possible Cross-Site Request Forgery security issues
  • Loading branch information
acrobat committed Oct 26, 2021
1 parent 75773cc commit f84a0e8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Resources/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ parameters:
kunstmaan_utilities.cipher.class: 'Kunstmaan\UtilitiesBundle\Helper\Cipher\UrlSafeCipher'

services:
# Autowire aliases
Kunstmaan\UtilitiesBundle\Helper\SlugifierInterface: '@kunstmaan_utilities.slugifier'

kunstmaan_utilities.shell:
class: '%kunstmaan_utilities.shell.class%'

Expand Down

0 comments on commit f84a0e8

Please sign in to comment.