File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1962,7 +1962,7 @@ function convertModal (id, format) {
19621962 }
19631963
19641964 // Icons (clickable)
1965- $ row [] = DocumentManager::create_document_link (
1965+ $ row [] = Security:: remove_XSS ( DocumentManager::create_document_link (
19661966 $ http_www ,
19671967 $ document_data ,
19681968 true ,
@@ -1971,7 +1971,7 @@ function convertModal (id, format) {
19711971 $ size ,
19721972 $ isAllowedToEdit ,
19731973 $ is_certificate_mode
1974- );
1974+ )) ;
19751975
19761976 $ path_info = pathinfo ($ document_data ['path ' ]);
19771977 if (isset ($ path_info ['extension ' ]) &&
@@ -2003,7 +2003,7 @@ function convertModal (id, format) {
20032003 $ titleWithLink .= $ invisibility_span_close .$ user_link ;
20042004 $ row [] = $ titleWithLink ;
20052005
2006- if ($ document_data ['filetype ' ] == 'folder ' ) {
2006+ if ($ document_data ['filetype ' ] === 'folder ' ) {
20072007 $ displaySize = '<span id="document_size_ ' .$ document_data ['id ' ]
20082008 .'" data-path= " ' .$ document_data ['path ' ]
20092009 .'" class="document_size"></span> ' ;
You can’t perform that action at this time.
0 commit comments