aboutsummaryrefslogtreecommitdiff
path: root/app/Utils/dotpathUtil.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Utils/dotpathUtil.php')
-rw-r--r--app/Utils/dotpathUtil.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Utils/dotpathUtil.php b/app/Utils/dotpathUtil.php
index b4da1506e..939434c5a 100644
--- a/app/Utils/dotpathUtil.php
+++ b/app/Utils/dotpathUtil.php
@@ -107,7 +107,8 @@ final class FreshRSS_dotpath_Util
$view = new FreshRSS_View();
$view->_path('index/rss.phtml');
$view->internal_rendering = true;
- $view->rss_url = $feedSourceUrl;
+ $view->rss_url = htmlspecialchars($feedSourceUrl, ENT_COMPAT, 'UTF-8');
+ $view->html_url = $view->rss_url;
$view->entries = [];
$view->rss_title = isset($dotPaths['feedTitle'])