mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #59772 from nextcloud/backport/59757/stable33
This commit is contained in:
commit
eb4a30adbe
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ class LoginRedirectorController extends Controller {
|
|||
|
||||
if ($response_type !== 'code') {
|
||||
//Fail
|
||||
$url = $client->getRedirectUri() . '?error=unsupported_response_type&state=' . $state;
|
||||
$url = $client->getRedirectUri() . '?error=unsupported_response_type&state=' . \urlencode($state);
|
||||
return new RedirectResponse($url);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue