Bläddra i källkod

Fix encoding of filter actions for labels (#8368)

fix https://github.com/FreshRSS/FreshRSS/issues/8367
Forgotten from https://github.com/FreshRSS/FreshRSS/pull/8324
Alexandre Alapetite 3 månader sedan
förälder
incheckning
579f945af7
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      app/Controllers/tagController.php

+ 1 - 1
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;
 			}