summaryrefslogtreecommitdiffstats
path: root/lib/filesystem.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/filesystem.php')
-rw-r--r--lib/filesystem.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/filesystem.php b/lib/filesystem.php
index 852290e62ac..055ba66aae3 100644
--- a/lib/filesystem.php
+++ b/lib/filesystem.php
@@ -403,7 +403,7 @@ class OC_Filesystem{
if(strstr($path, '/../') || strrchr($path, '/') === '/..' ) {
return false;
}
- if(self::isFileBlacklisted($path)){
+ if(self::isFileBlacklisted($path)) {
return false;
}
return true;
@@ -425,7 +425,7 @@ class OC_Filesystem{
}
}
- static public function isFileBlacklisted($path){
+ static public function isFileBlacklisted($path) {
$blacklist = array('.htaccess');
$filename = strtolower(basename($path));
return in_array($filename, $blacklist);