mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 23:03:00 -04:00
Prevent double slash in shareinfo request URL
This commit is contained in:
parent
836b80919f
commit
d5b61f9afe
1 changed files with 1 additions and 1 deletions
2
apps/files_sharing/lib/external/storage.php
vendored
2
apps/files_sharing/lib/external/storage.php
vendored
|
|
@ -194,7 +194,7 @@ class Storage extends DAV implements ISharedStorage {
|
|||
$remote = $this->getRemote();
|
||||
$token = $this->getToken();
|
||||
$password = $this->getPassword();
|
||||
$url = $remote . '/index.php/apps/files_sharing/shareinfo?t=' . $token;
|
||||
$url = rtrim($remote, '/') . '/index.php/apps/files_sharing/shareinfo?t=' . $token;
|
||||
|
||||
$ch = curl_init();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue