aboutsummaryrefslogtreecommitdiff
path: root/app/Services
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/Services
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/Services')
-rw-r--r--app/Services/ImportService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Services/ImportService.php b/app/Services/ImportService.php
index a4ef547ba..28286a753 100644
--- a/app/Services/ImportService.php
+++ b/app/Services/ImportService.php
@@ -165,7 +165,7 @@ class FreshRSS_Import_Service {
foreach ($feed_elt as $key => $value) {
if (is_array($value) && !empty($value['value']) && ($value['namespace'] ?? '') === FreshRSS_Export_Service::FRSS_NAMESPACE) {
switch ($key) {
- case 'cssFullContent': $feed->_pathEntries($value['value']); break;
+ case 'cssFullContent': $feed->_pathEntries(Minz_Helper::htmlspecialchars_utf8($value['value'])); break;
case 'cssFullContentFilter': $feed->_attributes('path_entries_filter', $value['value']); break;
case 'filtersActionRead': $feed->_filtersAction('read', preg_split('/[\n\r]+/', $value['value'])); break;
case 'xPathItem': $xPathSettings['item'] = $value['value']; break;