From: Bartosz DziewoƄski Date: Sat, 7 Mar 2015 22:52:44 +0000 (+0100) Subject: FeedItem: Use full URL with protocol for / in Atom/RSS feeds X-Git-Tag: 1.31.0-rc.0~12138^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=5709ec0454d2cfa93bc273f6e678d99d82f3fe01;p=lhc%2Fweb%2Fwiklou.git FeedItem: Use full URL with protocol for / in Atom/RSS feeds Bug: T89975 Change-Id: Ib84932b70aa8194b7bdabe7c90d7fdcc66054a1c --- 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 ) ); } }