Переглянути джерело

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 місяців тому
батько
коміт
579f945af7
1 змінених файлів з 1 додано та 1 видалено
  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) {
 			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;
 				$ok = $tagDAO->updateTagAttributes($tag->id(), $tag->attributes()) !== false;
 			}
 			}