Fix double-escaping from r47466 (feed calls getUrl() which calls xmlEncode() which...
authorAaron Schulz <aaron@users.mediawiki.org>
Mon, 23 Feb 2009 23:18:16 +0000 (23:18 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Mon, 23 Feb 2009 23:18:16 +0000 (23:18 +0000)
includes/specials/SpecialContributions.php

index 4ad326e..724479c 100644 (file)
@@ -288,7 +288,8 @@ class SpecialContributions extends SpecialPage {
                $feed = new $wgFeedClasses[$type](
                        $this->feedTitle(),
                        wfMsgExt( 'tagline', 'parsemag' ),
-                       $this->getTitle()->getFullUrl() . "/" . htmlspecialchars( $this->opts['target'] ) );
+                       $this->getTitle()->getFullUrl() . "/" . urlencode($this->opts['target'])
+               );
                        
                // Already valid title
                $nt = Title::makeTitleSafe( NS_USER, $this->opts['target'] );