Fix encoding issue in r53270
authorRoan Kattouw <catrope@users.mediawiki.org>
Wed, 15 Jul 2009 10:22:56 +0000 (10:22 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Wed, 15 Jul 2009 10:22:56 +0000 (10:22 +0000)
includes/SkinTemplate.php

index cb970d9..f520927 100644 (file)
@@ -178,7 +178,7 @@ class SkinTemplate extends Skin {
                $this->thisurl = $this->mTitle->getPrefixedURL();
                $query = $wgRequest->getValues();
                unset( $query['title'] );
-               $this->thisquery = wfArrayToCGI( $query );
+               $this->thisquery = wfUrlencode( wfArrayToCGI( $query ) );
                $this->loggedin = $wgUser->isLoggedIn();
                $this->iscontent = ( $this->mTitle->getNamespace() != NS_SPECIAL );
                $this->iseditable = ( $this->iscontent and !( $action == 'edit' or $action == 'submit' ) );