diff options
Diffstat (limited to 'Http/HttpUtils.php')
-rw-r--r-- | Http/HttpUtils.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Http/HttpUtils.php b/Http/HttpUtils.php index a293538..a26b1bd 100644 --- a/Http/HttpUtils.php +++ b/Http/HttpUtils.php @@ -71,6 +71,9 @@ class HttpUtils $this->resetLocale($request); $path = $this->generateUrl($path, true); } + if (0 !== strpos($path, 'http')) { + $path = $request->getUriForPath($path); + } $newRequest = Request::create($path, 'get', array(), $request->cookies->all(), array(), $request->server->all()); if ($session = $request->getSession()) { |