fix XSS in webchatlink variable
continuous-integration/drone/pr Build encountered an error Details

This commit is contained in:
Alexander 2023-05-16 17:46:06 +00:00
parent e215660cfe
commit cdcdc33ecf
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ include __DIR__."/../header.php";
<tbody data-link="row" class="rowlink">
<?php foreach($stats->channels as $channel): ?>
<tr>
<td><a href="<?=$channel->webchatlink?>"><?=htmlspecialchars($channel->name)?></a></td>
<td><a href="<?=htmlspecialchars($channel->webchatlink)?>"><?=htmlspecialchars($channel->name)?></a></td>
<td><?=htmlspecialchars($channel->usercount)?></td>
<td style="word-wrap: break-word; white-space: pre-wrap; max-width:700px"><?=htmlspecialchars($channel->topic)?></td>
</tr>