]> 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 10:46:11 +0000 (11:46 +0100)
commit01c83158bb997a68736ef3dd548bcbc96e9cca94
treef1d0a6c0a96e0e973d02d9fc87bec4dbd8591a56
parent10505bdb0db4d14ce86815b57d2bca2ef880a581
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.
apps/files_sharing/lib/share/file.php