Fix potential XSS from Username

pull/3462/head
Isaac Connor 2022-03-13 08:19:12 -04:00
parent 550693af10
commit 48d3526459
1 changed files with 2 additions and 2 deletions

View File

@ -77,8 +77,8 @@ while ( $row = $result->fetch(PDO::FETCH_ASSOC) ) {
echo '
<tr>
<td>'.$user->Username().'</td>
<td>'.$_SESSION['remoteAddr'].'</td>
<td>'.validHtmlStr($user->Username()).'</td>
<td>'.validHtmlStr($_SESSION['remoteAddr']).'</td>
<td>'.strftime(STRF_FMT_DATETIME_SHORTER, $row['access']).'</td>
</tr>
';