diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-04-14 11:27:51 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-04-28 11:28:54 +0200 |
commit | 8f7c64253ed6f1165ede51d70c788160f3c26a91 (patch) | |
tree | 4ae95769c4a890aff38ccca4c3ca8b564d3f13b7 /apps | |
parent | de8c15e1a46e33a20af1bad97a8cf27fced84539 (diff) | |
download | nextcloud-server-8f7c64253ed6f1165ede51d70c788160f3c26a91.tar.gz nextcloud-server-8f7c64253ed6f1165ede51d70c788160f3c26a91.zip |
Correctly generate the feedback URL for remote share
The trailing slash was added in c78e3c4a7fa1d2f474ab58551e67a50e093f6ed8
to correctly generate the encryption keys
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/lib/external/manager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/external/manager.php b/apps/files_sharing/lib/external/manager.php index 7b8b756dd5e..88f2571c23a 100644 --- a/apps/files_sharing/lib/external/manager.php +++ b/apps/files_sharing/lib/external/manager.php @@ -235,7 +235,7 @@ class Manager { */ private function sendFeedbackToRemote($remote, $token, $id, $feedback) { - $url = $remote . \OCP\Share::BASE_PATH_TO_SHARE_API . '/' . $id . '/' . $feedback . '?format=' . \OCP\Share::RESPONSE_FORMAT; + $url = rtrim($remote, '/') . \OCP\Share::BASE_PATH_TO_SHARE_API . '/' . $id . '/' . $feedback . '?format=' . \OCP\Share::RESPONSE_FORMAT; $fields = array('token' => $token); $result = $this->httpHelper->post($url, $fields); |