diff options
author | Henrik Kjölhede <hkjolhede@gmail.com> | 2013-02-09 23:49:21 +0100 |
---|---|---|
committer | Henrik Kjölhede <hkjolhede@gmail.com> | 2013-02-09 23:49:21 +0100 |
commit | c6622301e55a14db0cc45df9e0f294ec6e3f01ae (patch) | |
tree | 9ac2ba102cf3745bf4c1233e53bad0509a8e345d | |
parent | bcf98879cb8e2551e3f9e044da88d81ee7a17139 (diff) | |
download | nextcloud-server-c6622301e55a14db0cc45df9e0f294ec6e3f01ae.tar.gz nextcloud-server-c6622301e55a14db0cc45df9e0f294ec6e3f01ae.zip |
Security bug
-rw-r--r-- | apps/files_external/lib/sftp.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/sftp.php b/apps/files_external/lib/sftp.php index f3605c3aa2d..2f62a0ecf83 100644 --- a/apps/files_external/lib/sftp.php +++ b/apps/files_external/lib/sftp.php @@ -58,7 +58,7 @@ class SFTP extends OC\Files\Storage\Common { } private function abs_path($path) { - return $this->root . $path; + return $this->root . $this->cleanPath($path); } private function host_keys_path() { |