escape email address

This commit is contained in:
Uwe Steinmann 2021-01-28 12:01:59 +01:00
parent 768c02866c
commit 788b5b0014

View File

@ -85,7 +85,7 @@ $(document).ready( function() {
echo "<tr>"; echo "<tr>";
echo "<td>"; echo "<td>";
echo htmlspecialchars($currUser->getFullName())." (".htmlspecialchars($currUser->getLogin()).")"; echo htmlspecialchars($currUser->getFullName())." (".htmlspecialchars($currUser->getLogin()).")";
echo "<br /><a href=\"mailto:".$currUser->getEmail()."\">".htmlspecialchars($currUser->getEmail())."</a>"; echo "<br /><a href=\"mailto:".htmlspecialchars($currUser->getEmail())."\">".htmlspecialchars($currUser->getEmail())."</a>";
if($currUser->getComment()) if($currUser->getComment())
echo "<br /><small>".htmlspecialchars($currUser->getComment())."</small>"; echo "<br /><small>".htmlspecialchars($currUser->getComment())."</small>";
echo "</td>"; echo "</td>";