aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Context.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/Context.php')
-rw-r--r--app/Models/Context.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/Context.php b/app/Models/Context.php
index be4a06cc8..cc1b77026 100644
--- a/app/Models/Context.php
+++ b/app/Models/Context.php
@@ -248,7 +248,7 @@ final class FreshRSS_Context {
}
}
- self::$search = new FreshRSS_BooleanSearch(Minz_Request::paramString('search'));
+ self::$search = new FreshRSS_BooleanSearch(Minz_Request::paramString('search', plaintext: true));
$order = Minz_Request::paramString('order', plaintext: true) ?: FreshRSS_Context::userConf()->sort_order;
self::$order = in_array($order, ['ASC', 'DESC'], true) ? $order : 'DESC';
$sort = Minz_Request::paramString('sort', plaintext: true) ?: FreshRSS_Context::userConf()->sort;