|
|
|
@ -55,16 +55,16 @@
|
|
|
|
|
|
|
|
|
|
// Escape external input.
|
|
|
|
|
// Ternaries prevent passing null-equal strings, which produce warnings.
|
|
|
|
|
$id = htmlspecialchars($id);
|
|
|
|
|
$language = $room->language ? htmlspecialchars($room->language) : "";
|
|
|
|
|
$name = htmlspecialchars($room->name);
|
|
|
|
|
$desc = $room->description ? htmlspecialchars($room->description) : "";
|
|
|
|
|
$users = htmlspecialchars($room->active_users);
|
|
|
|
|
$preview_link = htmlspecialchars($room->preview_link);
|
|
|
|
|
$join_link = htmlspecialchars($room->join_link);
|
|
|
|
|
$id = html_sanitize($id);
|
|
|
|
|
$language = html_sanitize($room->language);
|
|
|
|
|
$name = html_sanitize($room->name);
|
|
|
|
|
$desc = html_sanitize($room->description);
|
|
|
|
|
$users = html_sanitize($room->active_users);
|
|
|
|
|
$preview_link = html_sanitize($room->preview_link);
|
|
|
|
|
$join_link = html_sanitize($room->join_link);
|
|
|
|
|
// TODO: Do not forget to rename this escape when merging!
|
|
|
|
|
$token = htmlspecialchars($token);
|
|
|
|
|
$hostname = htmlspecialchars($hostname);
|
|
|
|
|
$token = html_sanitize($token);
|
|
|
|
|
$hostname = html_sanitize($hostname);
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
|
|
<tr id="<?=$id?>" itemscope itemtype="https://schema.org/EntryPoint"
|
|
|
|
|