diff options
| author | 2024-10-24 22:34:29 +0200 | |
|---|---|---|
| committer | 2024-10-24 22:34:29 +0200 | |
| commit | 6c58b90518c30a165db1ee8ea34e0f3d12c6c898 (patch) | |
| tree | dcc9acb47942f39a23c2a09915226d34f8c4d2c6 /app/Models/BooleanSearch.php | |
| parent | 7a5ce0fe20d63746b7f5b435ba5eef0a9b7db2d6 (diff) | |
Fix regex for references to user queries (#6936)
https://github.com/FreshRSS/FreshRSS/pull/6926#issuecomment-2432712495
Diffstat (limited to 'app/Models/BooleanSearch.php')
| -rw-r--r-- | app/Models/BooleanSearch.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/BooleanSearch.php b/app/Models/BooleanSearch.php index 749dbdfa5..ede705416 100644 --- a/app/Models/BooleanSearch.php +++ b/app/Models/BooleanSearch.php @@ -35,9 +35,9 @@ class FreshRSS_BooleanSearch { $this->raw_input = $input; if ($level === 0) { + $input = self::escapeRegexParentheses($input); $input = $this->parseUserQueryNames($input, $allowUserQueries); $input = $this->parseUserQueryIds($input, $allowUserQueries); - $input = self::escapeRegexParentheses($input); $input = trim($input); } |
