Security bug

This commit is contained in:
Henrik Kjölhede 2013-02-09 23:49:21 +01:00
parent bcf98879cb
commit c6622301e5
1 changed files with 1 additions and 1 deletions

View File

@ -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() {