From aa9c45ec60bd46bffdc0fed160e5d556d709006d Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Fri, 30 Apr 2004 23:44:35 +0000 Subject: [PATCH] no escaped version of user css url --- includes/SkinPHPTal.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/includes/SkinPHPTal.php b/includes/SkinPHPTal.php index 96d4ae0e5b..a52bee26ec 100644 --- a/includes/SkinPHPTal.php +++ b/includes/SkinPHPTal.php @@ -81,11 +81,10 @@ 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(); @@ -135,7 +134,6 @@ $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() ) { -- 2.20.1