Explorar el Código

[Security] tweaked previous commit

Fabien Potencier hace 14 años
padre
commit
8a1fe40829
Se han modificado 1 ficheros con 1 adiciones y 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;
             }
         }