From 5709ec0454d2cfa93bc273f6e678d99d82f3fe01 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20Dziewo=C5=84ski?= Date: Sat, 7 Mar 2015 23:52:44 +0100 Subject: [PATCH] FeedItem: Use full URL with protocol for / in Atom/RSS feeds Bug: T89975 Change-Id: Ib84932b70aa8194b7bdabe7c90d7fdcc66054a1c --- includes/Feed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Feed.php b/includes/Feed.php index 9be3f577cb..600b136d86 100644 --- a/includes/Feed.php +++ b/includes/Feed.php @@ -92,7 +92,7 @@ class FeedItem { */ public function getUniqueId() { if ( $this->uniqueId ) { - return $this->xmlEncode( $this->uniqueId ); + return $this->xmlEncode( wfExpandUrl( $this->uniqueId, PROTO_CURRENT ) ); } } -- 2.20.1