diff options
-rw-r--r-- | lib/private/share/share.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/share/share.php b/lib/private/share/share.php index eeb50be44d9..d2bdca22f34 100644 --- a/lib/private/share/share.php +++ b/lib/private/share/share.php @@ -2461,6 +2461,7 @@ class Share extends Constants { private static function sendRemoteUnshare($remote, $id, $token) { $url = rtrim($remote, '/') . self::BASE_PATH_TO_SHARE_API . '/' . $id . '/unshare?format=' . self::RESPONSE_FORMAT; $fields = array('token' => $token, 'format' => 'json'); + $url = self::removeProtocolFromUrl($url); $result = self::tryHttpPost($url, $fields); $status = json_decode($result['result'], true); |