Escaping fixes
[lhc/web/wiklou.git] / includes / specials / SpecialListfiles.php
index fa23649..d3ad50e 100644 (file)
@@ -127,7 +127,7 @@ class ImageListPager extends TablePager {
                global $wgLang;
                switch ( $field ) {
                        case 'img_timestamp':
-                               return $wgLang->timeanddate( $value, true );
+                               return htmlspecialchars( $wgLang->timeanddate( $value, true ) );
                        case 'img_name':
                                static $imgfile = null;
                                if ( $imgfile === null ) $imgfile = wfMsg( 'imgfile' );