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.
1 parent 01ab5eb commit 71e1fdcCopy full SHA for 71e1fdc
solid/lib/Controller/ServerController.php
@@ -239,11 +239,10 @@ public function authorize() {
239
}
240
241
242
- // @CHECKME: Can more than one redirect_uri could be provided for custom schemes?
243
- $parsedOrigin = parse_url($clientRegistration['redirect_uris'][0]);
+ $parsedOrigin = parse_url($redirectUri);
244
if (
245
- $parsedOrigin['scheme'] != "https" &&
246
- $parsedOrigin['scheme'] != "http" &&
+ $parsedOrigin['scheme'] !== "https" &&
+ $parsedOrigin['scheme'] !== "http" &&
247
!isset($_GET['customscheme'])
248
) {
249
$result = new JSONResponse('Custom schema');
0 commit comments