summaryrefslogtreecommitdiffstats
path: root/lib/log.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/log.php')
-rw-r--r--lib/log.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/log.php b/lib/log.php
index 8bb2839be66..bccc46846ce 100644
--- a/lib/log.php
+++ b/lib/log.php
@@ -34,6 +34,6 @@ class OC_Log {
call_user_func(array(self::$class, 'init'));
}
$log_class=self::$class;
- $log_class::write($app, $message, $level);
+ $log_class::write($app, htmlentities($message), $level);
}
}