diff options
| author | 2024-03-10 23:04:17 +0100 | |
|---|---|---|
| committer | 2024-03-10 23:04:17 +0100 | |
| commit | d0072b9fb73a6582c98c7b5a44daf2d6ca39636e (patch) | |
| tree | bf1992ca2ca7c6ae65c5a63bdb66bf2f4b7850a6 /app/Controllers/feedController.php | |
| parent | 01eaaed9bb2268bc1d0509ca4f33d4b075634c9a (diff) | |
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
Diffstat (limited to 'app/Controllers/feedController.php')
| -rw-r--r-- | app/Controllers/feedController.php | 9 |
1 files changed, 1 insertions, 8 deletions
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; |
