diff --git a/src/Response/HttpResponse.php b/src/Response/HttpResponse.php index cb6d16b..317179b 100644 --- a/src/Response/HttpResponse.php +++ b/src/Response/HttpResponse.php @@ -170,7 +170,7 @@ class HttpResponse $this->request->session()->set('redirect_after_login', $this->rawUrl); $response = new Redirect( $this->routeCollection->getRoute($this->appConfig['loginRouteId']) - ->generateLink(['redirect_after_login' => urlencode($this->rawUrl)]), + ->generateLink(['redirect_after_login' => $this->rawUrl]), IRedirect::TEMPORARY); header('Location: ' . $this->getRedirectUrl($response), true, $response->getHttpCode()); }