From: Gabriel Wicke Date: Fri, 30 Apr 2004 23:44:35 +0000 (+0000) Subject: no escaped version of user css url X-Git-Tag: 1.3.0beta1~176 X-Git-Url: http://git.cyclocoop.org/geomaker.php?a=commitdiff_plain;h=aa9c45ec60bd46bffdc0fed160e5d556d709006d;p=lhc%2Fweb%2Fwiklou.git no escaped version of user css url --- 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() ) {