Explorar o código

[Security] tweaked previous commit

Fabien Potencier %!s(int64=14) %!d(string=hai) anos
pai
achega
8a1fe40829
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/Symfony/Component/Security/Http/HttpUtils.php

+ 1 - 0
src/Symfony/Component/Security/Http/HttpUtils.php

@@ -87,6 +87,7 @@ class HttpUtils
 
                 return $path === $parameters['_route'];
             } catch (\Exception $e) {
+                return false;
             }
         }