aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/feedController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2022-11-07 08:34:12 +0100
committerGravatar GitHub <noreply@github.com> 2022-11-07 08:34:12 +0100
commit5897487f2f29cd3f29b538919c57988f118461e7 (patch)
tree373c14d17e6906baaf7d09418002a053628734d1 /app/Controllers/feedController.php
parentf2fe9e2ff36efdf6861ed6ab58d820787d62f8d7 (diff)
Fix path_entries encoding (#4823)
* Fix path_entries encoding #fix https://github.com/FreshRSS/FreshRSS/issues/4815 * Fix preview
Diffstat (limited to 'app/Controllers/feedController.php')
-rwxr-xr-xapp/Controllers/feedController.php4
1 files changed, 2 insertions, 2 deletions
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
);