summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorAdrian Lang <mail@adrianlang.de>2012-07-13 12:07:51 +0200
committerAdrian Lang <mail@adrianlang.de>2012-07-13 12:15:34 +0200
commitc98f205e8a6265654072c7d3fea952552837b819 (patch)
tree98c3dc6199b1b77372eec687b0acc323a9489029 /inc
parentc28bd545c49f47ef788a97cd7218701fca4d8681 (diff)
downloadrpg-c98f205e8a6265654072c7d3fea952552837b819.tar.gz
rpg-c98f205e8a6265654072c7d3fea952552837b819.tar.bz2
Fix HTML injection in mediaFileList (Secunia advisory SA49196)
Diffstat (limited to 'inc')
-rw-r--r--inc/template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/template.php b/inc/template.php
index 76d4d4bbe..040d99d32 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -1170,7 +1170,7 @@ function tpl_mediaFileList(){
echo '<div class="panelHeader">'.NL;
echo '<h3>';
$tabTitle = ($NS) ? $NS : '['.$lang['mediaroot'].']';
- printf($lang['media_' . $opened_tab], '<strong>'.$tabTitle.'</strong>');
+ printf($lang['media_' . $opened_tab], '<strong>'.hsc($tabTitle).'</strong>');
echo '</h3>'.NL;
if ($opened_tab === 'search' || $opened_tab === 'files') {
media_tab_files_options();