do not encode query parameters
This commit is contained in:
parent
ee7d9623a3
commit
c1fe1bb0e0
@ -170,7 +170,7 @@ class HttpResponse
|
|||||||
$this->request->session()->set('redirect_after_login', $this->rawUrl);
|
$this->request->session()->set('redirect_after_login', $this->rawUrl);
|
||||||
$response = new Redirect(
|
$response = new Redirect(
|
||||||
$this->routeCollection->getRoute($this->appConfig['loginRouteId'])
|
$this->routeCollection->getRoute($this->appConfig['loginRouteId'])
|
||||||
->generateLink(['redirect_after_login' => urlencode($this->rawUrl)]),
|
->generateLink(['redirect_after_login' => $this->rawUrl]),
|
||||||
IRedirect::TEMPORARY);
|
IRedirect::TEMPORARY);
|
||||||
header('Location: ' . $this->getRedirectUrl($response), true, $response->getHttpCode());
|
header('Location: ' . $this->getRedirectUrl($response), true, $response->getHttpCode());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user