Browse Source

[Security] tweaked previous commit

Fabien Potencier 14 years ago
parent
commit
8a1fe40829
1 changed files with 1 additions and 0 deletions
  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'];
                 return $path === $parameters['_route'];
             } catch (\Exception $e) {
             } catch (\Exception $e) {
+                return false;
             }
             }
         }
         }