Fix double-escaping on login/logout return page
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 30 Apr 2004 06:51:31 +0000 (06:51 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 30 Apr 2004 06:51:31 +0000 (06:51 +0000)
includes/SkinPHPTal.php

index 8c8857a..cd28f43 100644 (file)
@@ -74,7 +74,6 @@
                        
                        $this->thispage = $wgTitle->getPrefixedDbKey();
                        $this->thisurl = $wgTitle->getPrefixedURL();
-                       $this->thisurle = urlencode($this->thisurl);
                        $this->loggedin = $wgUser->getID() != 0;
                        $this->username = $wgUser->getName();
                        $this->userpage = $wgLang->getNsText( Namespace::getUser() ) . ":" . $wgUser->getName();
                                );
                                $personal_urls['logout'] = array(
                                        'text' => wfMsg('userlogout'),
-                                       'href' => $this->makeSpecialUrl('Userlogout','returnto=' . $this->thisurle),
+                                       'href' => $this->makeSpecialUrl('Userlogout','returnto=' . $this->thisurl),
                                        'ttip' => wfMsg('tooltip-logout'),
                                        'akey' => wfMsg('accesskey-logout')
                                );
                                        );
                                        $personal_urls['anonlogin'] = array(
                                                'text' => wfMsg('userlogin'),
-                                               'href' => $this->makeSpecialUrl('Userlogin', 'returnto='.$this->thisurle),
+                                               'href' => $this->makeSpecialUrl('Userlogin', 'returnto='.$this->thisurl),
                                                'ttip' => wfMsg('tooltip-login'),
                                                'akey' => wfMsg('accesskey-login')
                                        );
 
                                        $personal_urls['login'] = array(
                                                'text' => wfMsg('userlogin'),
-                                               'href' => $this->makeSpecialUrl('Userlogin', 'returnto='.$this->thisurle),
+                                               'href' => $this->makeSpecialUrl('Userlogin', 'returnto='.$this->thisurl),
                                                'ttip' => wfMsg('tooltip-login'),
                                                'akey' => wfMsg('accesskey-login')
                                        );