r106712 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106711‎ | r106712 | r106713 >
Date:22:30, 19 December 2011
Author:jeroendedauw
Status:deferred
Tags:educationprogram 
Comment:
fix escaping issue
Modified paths:
  • /trunk/extensions/EducationProgram/includes/EPPager.php (modified) (history)

Diff [purge]

Index: trunk/extensions/EducationProgram/includes/EPPager.php
@@ -258,7 +258,7 @@
259259 return
260260 '<fieldset>' .
261261 '<legend>' . wfMsgHtml( 'ep-pager-showonly' ) . '</legend>' .
262 - '<form method="post" action="' . htmlspecialchars( $GLOBALS['wgScript'] . '?title=' . $title ) . '">' .
 262+ '<form method="post" action="' . htmlspecialchars( wfAppendQuery( $GLOBALS['wgScript'], array( 'title', $title ) ) ) . '">' .
263263 Html::hidden( 'title', $title ) .
264264 implode( '', $controls ) .
265265 '&#160;<input type="submit" class="ep-pager-go" value="' . wfMsgHtml( 'ep-pager-go' ) . '">' .

Follow-up revisions

RevisionCommit summaryAuthorDate
r106715Follow up to r106712; fix failed fixjeroendedauw22:40, 19 December 2011

Status & tagging log