From: Andrew Dolgov Date: Mon, 27 Mar 2017 16:20:46 +0000 (+0300) Subject: enclosures: rewrite relative urls on import, duh X-Git-Tag: 17.4~8 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=86e534290e2c9ce772481e70aeb4148dde7539b4;p=tt-rss.git enclosures: rewrite relative urls on import, duh --- diff --git a/include/rssfuncs.php b/include/rssfuncs.php index c03e6681..1eea3df3 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -1078,7 +1078,8 @@ if (is_array($encs)) { foreach ($encs as $e) { $e_item = array( - $e->link, $e->type, $e->length, $e->title, $e->width, $e->height); + rewrite_relative_url($site_url, $e->link), + $e->type, $e->length, $e->title, $e->width, $e->height); array_push($enclosures, $e_item); } }