mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
[VD] fix #3074 authentification (return) URL not useable if the connctor url has "?"
This commit is contained in:
@@ -131,8 +131,7 @@ class elFinderVolumeFlysystemGoogleDriveNetmount extends ExtDriver
|
||||
$options['url'] = elFinder::getConnectorUrl();
|
||||
}
|
||||
|
||||
$callback = $options['url']
|
||||
. '?cmd=netmount&protocol=googledrive&host=1';
|
||||
$callback = $options['url'] . (strpos($options['url'], '?') !== false? '&' : '?') . 'cmd=netmount&protocol=googledrive&host=1';
|
||||
$client->setRedirectUri($callback);
|
||||
|
||||
if (!$aToken && empty($_GET['code'])) {
|
||||
|
||||
Reference in New Issue
Block a user