diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2014-03-26 12:51:10 +0100 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2014-03-26 12:51:10 +0100 |
commit | 75a7667fefc83c8625302983ddf4237a0a966baf (patch) | |
tree | c93b1f1cf6287a45834b3accd701b407ddb43fb4 /Http/Firewall.php | |
parent | 48fb0aade194897204afc853d4514d52eb580250 (diff) | |
parent | ef511d47c94ad92e37112b43efcbf7da8696a803 (diff) | |
download | symfony-security-75a7667fefc83c8625302983ddf4237a0a966baf.zip symfony-security-75a7667fefc83c8625302983ddf4237a0a966baf.tar.gz symfony-security-75a7667fefc83c8625302983ddf4237a0a966baf.tar.bz2 |
Merge branch '2.4'
* 2.4: (52 commits)
Fix #8205 : Deprecate file mode update when calling dumpFile
Fix #10437: Catch exceptions when reloading a no-cache request
Fix libxml_use_internal_errors and libxml_disable_entity_loader usage
removed ini check to make uploadedfile work on gae
Update OptionsResolver.php
fixed comment in forms.xml file
Clean KernelInterface docblocks
Cast the group name as a string
Fixed doc of InitAclCommand
[Form] Fix "Array was modified outside object" in ResizeFormListener.
Fix IBAN validator
[Process] Remove unreachable code + avoid skipping tests in sigchild environment
Fixed bug that incorrectly causes the "required" attribute to be omitted from select even though it contains the "multiple" attribute
Added travis_retry to .travis.yml
[Process] fix some typos and refactor some code
[Process] Fix unit tests in sigchild disabled environment
[Process] Trow exceptions in case a Process method is supposed to be called after termination
fixed typo
[Process] fixed fatal errors in getOutput and getErrorOutput when process was not started
[Process] Fix escaping on Windows
...
Conflicts:
src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php
src/Symfony/Component/Form/Extension/Core/EventListener/ResizeFormListener.php
src/Symfony/Component/Process/Process.php
src/Symfony/Component/Process/ProcessPipes.php
src/Symfony/Component/Process/Tests/AbstractProcessTest.php
Diffstat (limited to 'Http/Firewall.php')
-rw-r--r-- | Http/Firewall.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Http/Firewall.php b/Http/Firewall.php index 98fda5e..392da0b 100644 --- a/Http/Firewall.php +++ b/Http/Firewall.php @@ -58,10 +58,10 @@ class Firewall implements EventSubscriberInterface } // register listeners for this firewall - list($listeners, $exception) = $this->map->getListeners($event->getRequest()); - if (null !== $exception) { - $this->exceptionListeners[$event->getRequest()] = $exception; - $exception->register($this->dispatcher); + list($listeners, $exceptionListener) = $this->map->getListeners($event->getRequest()); + if (null !== $exceptionListener) { + $this->exceptionListeners[$event->getRequest()] = $exceptionListener; + $exceptionListener->register($this->dispatcher); } // initiate the listener chain |