Browse Source

Merge pull request #13677 from owncloud/s2s-doubleslashrequest

Prevent double slash in shareinfo request URL
remotes/origin/create-share-target-reuse
Vincent Petry 11 years ago
parent
commit
44d69d7178
  1. 2
      apps/files_sharing/lib/external/storage.php

2
apps/files_sharing/lib/external/storage.php

@ -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…
Cancel
Save