瀏覽代碼

[HttpKernel] fixed typo

Fabien Potencier 14 年之前
父節點
當前提交
47e5344eda
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Symfony/Component/HttpKernel/Security/Firewall/ExceptionListener.php

+ 1 - 1
src/Symfony/Component/HttpKernel/Security/Firewall/ExceptionListener.php

@@ -137,7 +137,7 @@ class ExceptionListener
             $this->logger->debug('Calling Authentication entry point');
         }
 
-        $request->getSession()->set('_security.target_url', $request->getUri());
+        $request->getSession()->set('_security.target_path', $request->getUri());
 
         return $this->authenticationEntryPoint->start($request, $reason);
     }