r81042 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81041‎ | r81042 | r81043 >
Date:17:59, 26 January 2011
Author:catrope
Status:ok
Tags:
Comment:
Escape the output of $wgLang->timeanddate() in SpecialContributions. Was escaped in one code path but not in the other
Modified paths:
  • /trunk/phase3/includes/specials/SpecialContributions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialContributions.php
@@ -671,7 +671,7 @@
672672 array( 'oldid' => intval( $row->rev_id ) )
673673 );
674674 } else {
675 - $d = $date;
 675+ $d = htmlspecialchars( $date );
676676 }
677677 if( $rev->isDeleted( Revision::DELETED_TEXT ) ) {
678678 $d = '<span class="history-deleted">' . $d . '</span>';

Follow-up revisions

RevisionCommit summaryAuthorDate
r810791.17: MFT r80507, r80634, r80770, r80961, r80978, r80985, r81042, r81060, r81...catrope01:15, 27 January 2011

Status & tagging log