Fix potential XSS from Username

pull/4202/head
Isaac Connor 2022-03-13 08:19:12 -04:00 committed by Isaac Connor
parent 0db629fbba
commit 62c39ed0d4
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>
';