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 08d012c + fcb4503 commit ae51422Copy full SHA for ae51422
1 file changed
apps/oauth2/lib/Controller/LoginRedirectorController.php
@@ -89,7 +89,7 @@ public function authorize($client_id,
89
90
if ($response_type !== 'code') {
91
//Fail
92
- $url = $client->getRedirectUri() . '?error=unsupported_response_type&state=' . $state;
+ $url = $client->getRedirectUri() . '?error=unsupported_response_type&state=' . \urlencode($state);
93
return new RedirectResponse($url);
94
}
95
0 commit comments