Skip to content

Commit

Permalink
Remove unused dependency on swiftmailer
Browse files Browse the repository at this point in the history
Vulnerability swiftmailer CVE-2016-10074
  • Loading branch information
jorissteyn authored Jun 8, 2017
2 parents 3ec9694 + 2810c14 commit 22a0d85
Show file tree
Hide file tree
Showing 6 changed files with 82 additions and 209 deletions.
1 change: 0 additions & 1 deletion app/AppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ public function registerBundles()
new Symfony\Bundle\SecurityBundle\SecurityBundle(),
new Symfony\Bundle\TwigBundle\TwigBundle(),
new Symfony\Bundle\MonologBundle\MonologBundle(),
new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(),
new Symfony\Bundle\AsseticBundle\AsseticBundle(),
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
new Surfnet\StepupRa\RaBundle\SurfnetStepupRaRaBundle(),
Expand Down
8 changes: 0 additions & 8 deletions app/config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,6 @@ assetic:
#yui_css:
# jar: "%kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar"

# Swiftmailer Configuration
swiftmailer:
transport: "%mailer_transport%"
host: "%mailer_host%"
username: "%mailer_user%"
password: "%mailer_password%"
spool: { type: memory }

nelmio_security:
clickjacking:
paths:
Expand Down
3 changes: 0 additions & 3 deletions app/config/config_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ monolog:
assetic:
use_controller: "%use_assetic_controller%"

swiftmailer:
port: 1025

nelmio_security:
csp:
img: [ self, 'data:' ]
Expand Down
3 changes: 0 additions & 3 deletions app/config/config_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ web_profiler:
toolbar: false
intercept_redirects: false

swiftmailer:
disable_delivery: true

nelmio_security:
csp:
img: [ self, 'data:' ]
Expand Down
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"surfnet/stepup-bundle": "^1.7",
"surfnet/stepup-u2f-bundle": "dev-develop",
"guzzlehttp/guzzle": "^6",
"symfony/swiftmailer-bundle": "~2.3",
"knplabs/knp-paginator-bundle": "~2.4",
"mopa/composer-bridge": "~1.5",
"ramsey/uuid": "^3.5"
Expand Down
Loading

0 comments on commit 22a0d85

Please sign in to comment.