Просмотр исходного кода

Fix encoding CSS filter (#4707)

#fix https://github.com/FreshRSS/FreshRSS/issues/4705
Alexandre Alapetite 3 лет назад
Родитель
Сommit
4881e126ee
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      app/Controllers/subscriptionController.php

+ 2 - 2
app/Controllers/subscriptionController.php

@@ -170,7 +170,7 @@ class FreshRSS_subscription_Controller extends FreshRSS_ActionController {
 			}
 			$feed->_attributes('curl_params', empty($opts) ? null : $opts);
 
-			$feed->_attributes('content_action', Minz_Request::param('content_action', 'replace'));
+			$feed->_attributes('content_action', Minz_Request::param('content_action', 'replace', true));
 
 			$feed->_attributes('ssl_verify', Minz_Request::paramTernary('ssl_verify'));
 			$timeout = intval(Minz_Request::param('timeout', 0));
@@ -222,7 +222,7 @@ class FreshRSS_subscription_Controller extends FreshRSS_ActionController {
 				}
 			}
 
-			$feed->_attributes('path_entries_filter', Minz_Request::param('path_entries_filter', ''));
+			$feed->_attributes('path_entries_filter', Minz_Request::param('path_entries_filter', '', true));
 
 			$values = array(
 				'name' => Minz_Request::param('name', ''),