From 86e534290e2c9ce772481e70aeb4148dde7539b4 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 27 Mar 2017 19:20:46 +0300 Subject: [PATCH] enclosures: rewrite relative urls on import, duh --- include/rssfuncs.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } } -- 2.39.2