File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1151,7 +1151,7 @@ function tpl_mediaFileList(){
1151
1151
echo '<div class="panelHeader"> ' .NL ;
1152
1152
echo '<h3> ' ;
1153
1153
$ tabTitle = ($ NS ) ? $ NS : '[ ' .$ lang ['mediaroot ' ].'] ' ;
1154
- printf ($ lang ['media_ ' . $ opened_tab ], '<strong> ' .$ tabTitle .'</strong> ' );
1154
+ printf ($ lang ['media_ ' . $ opened_tab ], '<strong> ' .hsc ( $ tabTitle) .'</strong> ' );
1155
1155
echo '</h3> ' .NL ;
1156
1156
if ($ opened_tab === 'search ' || $ opened_tab === 'files ' ) {
1157
1157
media_tab_files_options ();
Original file line number Diff line number Diff line change 13
13
14
14
header ('Content-Type: text/html; charset=utf-8 ' );
15
15
16
-
17
16
//call the requested function
18
17
if (isset ($ _POST ['call ' ])){
19
18
$ call = $ _POST ['call ' ];
@@ -204,7 +203,7 @@ function ajax_medialist(){
204
203
global $ conf ;
205
204
global $ NS ;
206
205
207
- $ NS = $ _POST ['ns ' ];
206
+ $ NS = cleanID ( $ _POST ['ns ' ]) ;
208
207
if ($ _POST ['do ' ] == 'media ' ) {
209
208
tpl_mediaFileList ();
210
209
} else {
You can’t perform that action at this time.
0 commit comments