From dff479af649005c819e16ed8e75278ab50c955b3 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 21 May 2021 15:39:41 +0300 Subject: feeditem_atom: support xml:base for enclosures and entry content UrlHelper::rewrite_relative: use base URL path if relative url path is not absolute (experimental) --- include/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/functions.php b/include/functions.php index e8f41d56a..694b8f398 100644 --- a/include/functions.php +++ b/include/functions.php @@ -193,8 +193,8 @@ } /** function is @deprecated */ - function rewrite_relative_url($url, $rel_url) { - return UrlHelper::rewrite_relative($url, $rel_url); + function rewrite_relative_url($base_url, $rel_url) { + return UrlHelper::rewrite_relative($base_url, $rel_url); } /** function is @deprecated */ -- cgit v1.2.3-54-g00ecf