[Pkg-owncloud-commits] [owncloud] 54/103: Correctly remove the	protocol before prepeding it
    David Prévot 
    taffit at moszumanska.debian.org
       
    Sun May 31 12:32:37 UTC 2015
    
    
  
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v8.0.4RC1
in repository owncloud.
commit 927eb763c33c5db6410ce692c8b3d6b52e7dec00
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 56fbc44..d7c7f39 100644
--- a/lib/private/share/share.php
+++ b/lib/private/share/share.php
@@ -2355,6 +2355,7 @@ class Share extends \OC\Share\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