r22994 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r22993‎ | r22994 | r22995 >
Date:20:05, 14 June 2007
Author:aaron
Status:old
Tags:
Comment:
*Make brion happy ;)
Modified paths:
  • /trunk/extensions/CheckUser/CheckUser_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CheckUser/CheckUser_body.php
@@ -375,7 +375,7 @@
376376 if( $block->load( $ip, $users_ids[$name] ) ) {
377377 if( IP::isIPAddress($block->mAddress) && strpos($block->mAddress,'/') ) {
378378 $userpage = Title::makeTitle( NS_USER, $block->mAddress );
379 - $blocklog = $sk->makeKnownLinkObj( $logs, wfMsgHtml('blockedtitle'), 'type=block&page=' . $userpage->getPrefixedText() );
 379+ $blocklog = $sk->makeKnownLinkObj( $logs, wfMsgHtml('blockedtitle'), 'type=block&page=' . urlencode( $userpage->getPrefixedText() ) );
380380 $s .= '<strong>(' . $blocklog . ' - ' . $block->mAddress . ')</strong><br/>';
381381 } else {
382382 $userpage = Title::makeTitle( NS_USER, $name );

Status & tagging log