We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a8a46aa + f25bb40 commit 5457f4dCopy full SHA for 5457f4d
1 file changed
apps/oauth2/lib/Controller/LoginRedirectorController.php
@@ -81,7 +81,7 @@ public function authorize($client_id,
81
82
if ($response_type !== 'code') {
83
//Fail
84
- $url = $client->getRedirectUri() . '?error=unsupported_response_type&state=' . $state;
+ $url = $client->getRedirectUri() . '?error=unsupported_response_type&state=' . \urlencode($state);
85
return new RedirectResponse($url);
86
}
87
0 commit comments