diff --git a/apps/updatenotification/templates/admin.php b/apps/updatenotification/templates/admin.php
index 78337eb313..28a4799241 100644
--- a/apps/updatenotification/templates/admin.php
+++ b/apps/updatenotification/templates/admin.php
@@ -23,7 +23,7 @@
t('Download now')) ?>
- t('Your version is up to date.')); ?>
+ t('Your version is up to date.')); ?>
diff --git a/core/templates/error.php b/core/templates/error.php
index 6e044b7241..b5e8c8eab3 100644
--- a/core/templates/error.php
+++ b/core/templates/error.php
@@ -3,7 +3,7 @@
-
+
diff --git a/lib/private/Files/Storage/Local.php b/lib/private/Files/Storage/Local.php
index 4fe7dcafbb..7cdd28468a 100644
--- a/lib/private/Files/Storage/Local.php
+++ b/lib/private/Files/Storage/Local.php
@@ -380,9 +380,10 @@ class Local extends \OC\Files\Storage\Common {
}
if (substr($realPath, 0, $this->dataDirLength) === $this->realDataDir) {
return $fullPath;
- } else {
- throw new ForbiddenException("Following symlinks is not allowed ('$fullPath' -> '$realPath' not inside '{$this->realDataDir}')", false);
}
+
+ \OCP\Util::writeLog('core', "Following symlinks is not allowed ('$fullPath' -> '$realPath' not inside '{$this->realDataDir}')", \OCP\Util::ERROR);
+ throw new ForbiddenException('Following symlinks is not allowed', false);
}
/**