diff options
Diffstat (limited to 'dmarcts-report-viewer-report-data.php')
-rw-r--r-- | dmarcts-report-viewer-report-data.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dmarcts-report-viewer-report-data.php b/dmarcts-report-viewer-report-data.php index 09ea80e..00f1a68 100644 --- a/dmarcts-report-viewer-report-data.php +++ b/dmarcts-report-viewer-report-data.php @@ -148,7 +148,7 @@ ORDER BY } /* escape html characters after exploring binary values, which will be messed up */ - $row = array_map('htmlspecialchars', $row); + $row = array_map('html_escape', $row); $reportdata[] = " <tr id='line" . $row['id'] . "' class='" . get_dmarc_result($row)['color'] . "' title='DMARC Result: " . get_dmarc_result($row)['result'] . "' onmouseover='highlight(this);' onmouseout='unhighlight(this);' onclick='pin(this);'>"; $reportdata[] = " <td>". $ip. "</td>"; |