aboutsummaryrefslogtreecommitdiff
path: root/app/Models/BooleanSearch.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2024-04-23 10:59:09 +0200
committerGravatar GitHub <noreply@github.com> 2024-04-23 10:59:09 +0200
commit5e66adcc51446fe93b2cba7c25e28a06d9903223 (patch)
tree64735323d88ec5c59226e0a7f041b46195ac194d /app/Models/BooleanSearch.php
parent90fbb524ce5a8c5a87d808278289b013300b0aba (diff)
Remove noise parameters in query URL (#6371)
* Remove noise parameters in query URL Remove undeeded `name` and `rid` parameters from saved user query * Fix logic
Diffstat (limited to 'app/Models/BooleanSearch.php')
-rw-r--r--app/Models/BooleanSearch.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/Models/BooleanSearch.php b/app/Models/BooleanSearch.php
index 898ffa3bc..692738107 100644
--- a/app/Models/BooleanSearch.php
+++ b/app/Models/BooleanSearch.php
@@ -50,7 +50,6 @@ class FreshRSS_BooleanSearch {
$all_matches = [];
if (preg_match_all('/\bsearch:(?P<delim>[\'"])(?P<search>.*)(?P=delim)/U', $input, $matchesFound)) {
$all_matches[] = $matchesFound;
-
}
if (preg_match_all('/\bsearch:(?P<search>[^\s"]*)/', $input, $matchesFound)) {
$all_matches[] = $matchesFound;