浏览代码

[Security] tweaked previous commit

Fabien Potencier 14 年之前
父节点
当前提交
8a1fe40829
共有 1 个文件被更改,包括 1 次插入0 次删除
  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;
             }
         }