diff --git a/app/recordings/recordings.php b/app/recordings/recordings.php
index 4a5908c83a..1592fcfa8a 100644
--- a/app/recordings/recordings.php
+++ b/app/recordings/recordings.php
@@ -329,13 +329,13 @@
foreach($recordings as $row) {
//playback progress bar
if (permission_exists('recording_play')) {
- echo "
\n";
- echo " | ".$row['recording_name']." | \n";
+ echo " ".escape($row['recording_name'])." | \n";
if ($_SESSION['recordings']['storage_type']['text'] != 'base64') {
- echo " ".str_replace('_', '_', $row['recording_filename'])." | \n";
+ echo " ".str_replace('_', '_', escape($row['recording_filename']))." | \n";
}
if (permission_exists('recording_play') || permission_exists('recording_download')) {
echo " ";
@@ -348,11 +348,11 @@
case "mp3" : $recording_type = "audio/mpeg"; break;
case "ogg" : $recording_type = "audio/ogg"; break;
}
- echo "";
- echo "".$v_link_label_play."";
+ echo "";
+ echo "".$v_link_label_play."";
}
if (permission_exists('recording_download')) {
- echo "".$v_link_label_download."";
+ echo "".$v_link_label_download."";
}
echo " | \n";
}
@@ -372,14 +372,14 @@
echo " ".$file_date." | \n";
}
else {
- echo " ".$row['recording_description']." | \n";
+ echo " ".escape($row['recording_description'])." | \n";
}
echo " ";
if (permission_exists('recording_edit')) {
- echo "$v_link_label_edit";
+ echo "$v_link_label_edit";
}
if (permission_exists('recording_delete')) {
- echo "$v_link_label_delete";
+ echo "$v_link_label_delete";
}
echo " | \n";
echo "
\n";