aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/subscriptionController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2022-10-11 00:47:31 +0200
committerGravatar GitHub <noreply@github.com> 2022-10-11 00:47:31 +0200
commit4881e126ee36278fc92fc2a221687b1157b0d929 (patch)
treef26bf0eacb1ff07b880d8b687df4cff8a4ec58ab /app/Controllers/subscriptionController.php
parent0ff5d0b8cb6c861be957cc1e38a4817ecd239d86 (diff)
Fix encoding CSS filter (#4707)
#fix https://github.com/FreshRSS/FreshRSS/issues/4705
Diffstat (limited to 'app/Controllers/subscriptionController.php')
-rw-r--r--app/Controllers/subscriptionController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controllers/subscriptionController.php b/app/Controllers/subscriptionController.php
index a3a55293a..4a63d1ee4 100644
--- a/app/Controllers/subscriptionController.php
+++ b/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', ''),