Skip to content

A free, self-hostable news aggregator…

Fix encoding of filter actions for labels (#8368)

Alexandre Alapetite579f945af7e2
diff --git a/app/Controllers/tagController.php b/app/Controllers/tagController.php
index d5216b746..58018094c 100644
--- a/app/Controllers/tagController.php
+++ b/app/Controllers/tagController.php
@@ -118,7 +118,7 @@ class FreshRSS_tag_Controller extends FreshRSS_ActionController {
}
if ($ok) {
- $tag->_filtersAction('label', Minz_Request::paramTextToArray('filteractions_label')); // Keep as HTML
+ $tag->_filtersAction('label', Minz_Request::paramTextToArray('filteractions_label', plaintext: true));
$ok = $tagDAO->updateTagAttributes($tag->id(), $tag->attributes()) !== false;
}