|
|
|
@ -53,10 +53,11 @@
|
|
|
|
|
$hostname = explode("/", $hostname)[0];
|
|
|
|
|
|
|
|
|
|
// Escape external input.
|
|
|
|
|
// Ternaries prevent passing null-equal strings, which produce warnings.
|
|
|
|
|
$id = htmlspecialchars($id);
|
|
|
|
|
$language = htmlspecialchars($room->language);
|
|
|
|
|
$language = $room->language ? htmlspecialchars($room->language) : "";
|
|
|
|
|
$name = htmlspecialchars($room->name);
|
|
|
|
|
$desc = htmlspecialchars($room->description);
|
|
|
|
|
$desc = $room->description ? htmlspecialchars($room->description) : "";
|
|
|
|
|
$users = htmlspecialchars($room->active_users);
|
|
|
|
|
$preview_link = htmlspecialchars($room->preview_link);
|
|
|
|
|
$join_link = htmlspecialchars($room->join_link);
|
|
|
|
|