no escaped version of user css url
authorGabriel Wicke <gwicke@users.mediawiki.org>
Fri, 30 Apr 2004 23:44:35 +0000 (23:44 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Fri, 30 Apr 2004 23:44:35 +0000 (23:44 +0000)
includes/SkinPHPTal.php

index 96d4ae0..a52bee2 100644 (file)
                        
                        if( $this->loggedin ) {
                                $this->usercss = $this->makeUrl($this->userpage.'/'.$this->skinname.'.css', 'action=raw&ctype=text/css');
-                               $this->usercsse = htmlspecialchars($this->usercss);
                                $this->userjs = $this->makeUrl($this->userpage.'/'.$this->skinname.'.js', 'action=raw&ctype=text/javascript');
                                $this->userjse = htmlspecialchars($this->userjs);
                        } else {
-                               $this->usercss = $this->usercsse =  $this->userjs = $this->userjse = false;
+                               $this->usercss =  $this->userjs = $this->userjse = false;
                        }
                        $this->titletxt = $wgTitle->getPrefixedText();
                        
                        $tpl->setRef( "userpage", &$this->userpage);
                        $tpl->setRef( "userpageurl", &$this->userpageurl);
                        $tpl->setRef( "usercss", &$this->usercss);
-                       $tpl->setRef( "usercsse", &$this->usercsse);
                        $tpl->setRef( "userjs", &$this->userjs);
                        $tpl->setRef( "userjse", &$this->userjse);
                        if( $wgUser->getNewtalk() ) {