log messages are looking nicer if they are not escaped. (xss prevention happens on another place)

This commit is contained in:
Bjoern Schiessle 2012-06-22 16:53:45 +02:00
parent b6c862b32f
commit e943f6c0c8
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ OC.Log={
row.append(appTd); row.append(appTd);
var messageTd=$('<td/>'); var messageTd=$('<td/>');
messageTd.text(entry.message); messageTd.html(entry.message);
row.append(messageTd); row.append(messageTd);
var timeTd=$('<td/>'); var timeTd=$('<td/>');

View File

@ -42,7 +42,7 @@ if(!$_['htaccessworking']) {
<?php echo $entry->app;?> <?php echo $entry->app;?>
</td> </td>
<td> <td>
<?php echo htmlentities($entry->message);?> <?php echo $entry->message;?>
</td> </td>
<td> <td>
<?php echo OC_Util::formatDate($entry->time);?> <?php echo OC_Util::formatDate($entry->time);?>