summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-11-25 10:09:16 +0100
committerMorris Jobke <hey@morrisjobke.de>2014-11-25 10:09:16 +0100
commit6fb2477fb75d4c982a1568e2392d17fd7cc2fd4b (patch)
tree084512c823057b7afeffaeeccfa0fa77afea5bb7 /apps/files_sharing/tests
parentbc3c835f6acacd00c1373b148e76c965081c829c (diff)
parenta6ebb176102fcb157c529685cbaeb358950a054a (diff)
downloadnextcloud-server-6fb2477fb75d4c982a1568e2392d17fd7cc2fd4b.tar.gz
nextcloud-server-6fb2477fb75d4c982a1568e2392d17fd7cc2fd4b.zip
Merge pull request #12262 from owncloud/removeAbsoluteDirectoryPathFromTemplate
Don't disclose relative directory path for single shared files of user
Diffstat (limited to 'apps/files_sharing/tests')
-rw-r--r--apps/files_sharing/tests/controller/sharecontroller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/tests/controller/sharecontroller.php b/apps/files_sharing/tests/controller/sharecontroller.php
index 8dcb2475564..f13e5b2e497 100644
--- a/apps/files_sharing/tests/controller/sharecontroller.php
+++ b/apps/files_sharing/tests/controller/sharecontroller.php
@@ -153,7 +153,7 @@ class ShareControllerTest extends \PHPUnit_Framework_TestCase {
'sharingToken' => $this->token,
'server2serversharing' => true,
'protected' => 'true',
- 'dir' => '/',
+ 'dir' => '',
'downloadURL' => null,
'fileSize' => '33 B'
);