r53305 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r53304‎ | r53305 | r53306 >
Date:10:22, 15 July 2009
Author:catrope
Status:resolved
Tags:
Comment:
Fix encoding issue in r53270
Modified paths:
  • /trunk/phase3/includes/SkinTemplate.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SkinTemplate.php
@@ -178,7 +178,7 @@
179179 $this->thisurl = $this->mTitle->getPrefixedURL();
180180 $query = $wgRequest->getValues();
181181 unset( $query['title'] );
182 - $this->thisquery = wfArrayToCGI( $query );
 182+ $this->thisquery = wfUrlencode( wfArrayToCGI( $query ) );
183183 $this->loggedin = $wgUser->isLoggedIn();
184184 $this->iscontent = ( $this->mTitle->getNamespace() != NS_SPECIAL );
185185 $this->iseditable = ( $this->iscontent and !( $action == 'edit' or $action == 'submit' ) );

Follow-up revisions

RevisionCommit summaryAuthorDate
r54535Merge trunk fixes to support returnto query params, needed for OptIn smoothness...brion18:15, 6 August 2009

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r53270Add returntoquery= parameter to Special:Userlogin which adds a query string t...catrope21:25, 14 July 2009

Status & tagging log