Skip to content
Snippets Groups Projects
Commit 4bbbba1d authored by Georg Ehrke's avatar Georg Ehrke
Browse files

fix typo

parent 7f71ae60
No related branches found
No related tags found
No related merge requests found
......@@ -659,7 +659,7 @@ class Preview {
$sharedfile = null;
if($linkedItem['item_type'] === 'folder') {
$isvalid = \OC\File\Filesystem::isValidPath($file);
$isvalid = \OC\Files\Filesystem::isValidPath($file);
if(!$isvalid) {
\OC_Response::setStatus(400); //400 Bad Request
\OC_Log::write('core-preview', 'Passed filename is not valid, might be malicious (file:"' . $file . '";ip:"' . $_SERVER['REMOTE_ADDR'] . '")', \OC_Log::WARN);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment