do not encode query parameters

This commit is contained in:
Bence Pőcze 2024-11-08 12:20:30 +01:00
parent ee7d9623a3
commit c1fe1bb0e0
Signed by: bence
GPG Key ID: DC5BD6E95A333E6D

View File

@ -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());
}