aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/configureController.php
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <aledeg@users.noreply.github.com> 2020-06-06 20:59:53 +0200
committerGravatar GitHub <noreply@github.com> 2020-06-06 20:59:53 +0200
commitb2b249d6d6e1339b7a55a61ac06b0520b9dc91b9 (patch)
tree6ea3bbf5a0672d5c110e5da64ba909769ce8dbd8 /app/Controllers/configureController.php
parent1694264e2ca454a0cc51064ed09a6ed1a759cb01 (diff)
Fix user queries when they contain " (#3037)
Before, the user queries were working filter-wise but they failed at being displayed properly in the configuration page. Thus they were stored without the search param. Now, the search is URL encoded to avoid that kind of behavior and keep the search param through out the user query's life.
Diffstat (limited to 'app/Controllers/configureController.php')
-rwxr-xr-xapp/Controllers/configureController.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Controllers/configureController.php b/app/Controllers/configureController.php
index 09efef40c..ba7316472 100755
--- a/app/Controllers/configureController.php
+++ b/app/Controllers/configureController.php
@@ -281,6 +281,9 @@ class FreshRSS_configure_Controller extends Minz_ActionController {
if (!$query['name']) {
$query['name'] = _t('conf.query.number', $key + 1);
}
+ if ($query['search']) {
+ $query['search'] = urldecode($query['search']);
+ }
$queries[] = new FreshRSS_UserQuery($query, $feed_dao, $category_dao);
}
FreshRSS_Context::$user_conf->queries = $queries;