mirror of
https://github.com/nextcloud/server.git
synced 2026-03-21 18:11:02 -04:00
The log message is not always shown in html
The log message can also be logged with syslog, here we don't want to have html-entities. Also the log messages through json are displayed as text not html.
This commit is contained in:
parent
94803dc222
commit
a9d7c67bf2
2 changed files with 2 additions and 2 deletions
|
|
@ -34,6 +34,6 @@ class OC_Log {
|
|||
call_user_func(array(self::$class, 'init'));
|
||||
}
|
||||
$log_class=self::$class;
|
||||
$log_class::write($app, htmlentities($message), $level);
|
||||
$log_class::write($app, $message, $level);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ $levels=array('Debug','Info','Warning','Error','Fatal');
|
|||
<?php echo $entry->app;?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $entry->message;?>
|
||||
<?php echo htmlentities($entry->message);?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo OC_Util::formatDate($entry->time);?>
|
||||
|
|
|
|||
Loading…
Reference in a new issue