From d0072b9fb73a6582c98c7b5a44daf2d6ca39636e Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 10 Mar 2024 23:04:17 +0100 Subject: Refactor some cURL options and use CURLOPT_USERPWD (#6177) * Refactor some cURL options and use CURLOPT_USERPWD fix https://github.com/FreshRSS/FreshRSS/issues/6176 * Fixes --- app/Controllers/feedController.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'app/Controllers') diff --git a/app/Controllers/feedController.php b/app/Controllers/feedController.php index 4ec4b5a55..122807cf0 100644 --- a/app/Controllers/feedController.php +++ b/app/Controllers/feedController.php @@ -1141,16 +1141,9 @@ class FreshRSS_feed_Controller extends FreshRSS_ActionController { return; } - $attributes = $feed->attributes(); - $attributes['path_entries_filter'] = Minz_Request::paramString('selector_filter', true); - //Fetch & select content. try { - $fullContent = FreshRSS_Entry::getContentByParsing( - htmlspecialchars_decode($entry->link(), ENT_QUOTES), - htmlspecialchars_decode($content_selector, ENT_QUOTES), - $attributes - ); + $fullContent = $entry->getContentByParsing(); if ($fullContent != '') { $this->view->selectorSuccess = true; -- cgit v1.2.3