[Pkg-owncloud-commits] [owncloud] 136/215: Correctly remove the protocol before prepeding it

David Prévot taffit at moszumanska.debian.org
Tue May 5 01:01:38 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit 9fb7d0bca9006b1d19768fb214a0883e8158f455
Author: Joas Schilling <nickvergessen at owncloud.com>
Date:   Mon Apr 27 22:08:44 2015 +0200

    Correctly remove the protocol before prepeding it
---
 lib/private/share/share.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/private/share/share.php b/lib/private/share/share.php
index eeb50be..d2bdca2 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);
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list