diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-02-27 16:04:17 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-03-17 16:03:24 +0100 |
commit | 05c4848954e3b2fed0f02f043dbd67777f4f6c7d (patch) | |
tree | 8cb6b286c25a84542da44b5995ab1bd2a49d1dad /apps/files_sharing/ajax/external.php | |
parent | d96b97043b2fa7ba4d676c1d7b44f4aa5e58c8ee (diff) | |
download | nextcloud-server-05c4848954e3b2fed0f02f043dbd67777f4f6c7d.tar.gz nextcloud-server-05c4848954e3b2fed0f02f043dbd67777f4f6c7d.zip |
Correctly get the unique mountpoint name when mounting the share
Previously the mount name was checked for uniqueness prior to inserting the
share. This caused problems, when two shares with the same name where done
or folder, mount point, local share with the same name was done, between
sending and accepting of the remote share
Diffstat (limited to 'apps/files_sharing/ajax/external.php')
-rw-r--r-- | apps/files_sharing/ajax/external.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/files_sharing/ajax/external.php b/apps/files_sharing/ajax/external.php index 30c1f38801e..153285e11ff 100644 --- a/apps/files_sharing/ajax/external.php +++ b/apps/files_sharing/ajax/external.php @@ -38,8 +38,6 @@ $externalManager = new \OCA\Files_Sharing\External\Manager( \OC::$server->getUserSession()->getUser()->getUID() ); -$name = OCP\Files::buildNotExistingFileName('/', $name); - // check for ssl cert if (substr($remote, 0, 5) === 'https' and !OC_Util::getUrlContent($remote)) { \OCP\JSON::error(array('data' => array('message' => $l->t('Invalid or untrusted SSL certificate')))); |