do not encode query parameters

This commit is contained in:
bence committed 2024-11-08 12:20:30 +01:00
1 parent ee7d9623a3
commit c1fe1bb0e0
1 file changed
+1 -1
+1 -1
View File
@@ -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());
} }