]> source.dussan.org Git - nextcloud-server.git/commit
Fix source path when share is a mount point
authorVincent Petry <pvince81@owncloud.com>
Thu, 8 Jan 2015 10:40:47 +0000 (11:40 +0100)
committerVincent Petry <pvince81@owncloud.com>
Thu, 8 Jan 2015 15:07:44 +0000 (16:07 +0100)
commita5574e885c0b69c7f0c343564e9fc218f4c6697d
treecb6d5de0e961ed00dbf4b433ad7e1b98e0aaaffd
parentbf1f9df590e45de4bb9a02c3f472ffdbe702bc69
Fix source path when share is a mount point

Whenever an external storage mount point is shared directly, its path is
empty which causes a leading slash to appear in the source path.

This fix removes the bogus leading slash in such situation.

Backport of 01c83158bb997a68736ef3dd548bcbc96e9cca94 from master
apps/files_sharing/lib/share/file.php