From 1c0beb7ecb524e0746cc3fc009c9326fa1cf2010 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Mon, 23 Feb 2009 23:18:16 +0000 Subject: [PATCH] Fix double-escaping from r47466 (feed calls getUrl() which calls xmlEncode() which escapes it) --- includes/specials/SpecialContributions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/specials/SpecialContributions.php b/includes/specials/SpecialContributions.php index 4ad326e967..724479c51e 100644 --- a/includes/specials/SpecialContributions.php +++ b/includes/specials/SpecialContributions.php @@ -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'] ); -- 2.20.1