From 5897487f2f29cd3f29b538919c57988f118461e7 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Mon, 7 Nov 2022 08:34:12 +0100 Subject: Fix path_entries encoding (#4823) * Fix path_entries encoding #fix https://github.com/FreshRSS/FreshRSS/issues/4815 * Fix preview --- app/Controllers/feedController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/Controllers/feedController.php') diff --git a/app/Controllers/feedController.php b/app/Controllers/feedController.php index 09b5ed88c..319faece8 100755 --- a/app/Controllers/feedController.php +++ b/app/Controllers/feedController.php @@ -934,13 +934,13 @@ class FreshRSS_feed_Controller extends FreshRSS_ActionController { } $attributes = $feed->attributes(); - $attributes['path_entries_filter'] = trim(Minz_Request::param('selector_filter', '')); + $attributes['path_entries_filter'] = trim(Minz_Request::param('selector_filter', '', true)); //Fetch & select content. try { $fullContent = FreshRSS_Entry::getContentByParsing( htmlspecialchars_decode($entry->link(), ENT_QUOTES), - $content_selector, + htmlspecialchars_decode($content_selector, ENT_QUOTES), $attributes ); -- cgit v1.2.3