Skip to content
Snippets Groups Projects
Commit 44d69d71 authored by Vincent Petry's avatar Vincent Petry
Browse files

Merge pull request #13677 from owncloud/s2s-doubleslashrequest

Prevent double slash in shareinfo request URL
parents 836b8091 d5b61f9a
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment