Fix parenthesis escaping bug (#5633)

fix https://github.com/FreshRSS/FreshRSS/issues/5632
In the SQL search, parentheses should not be escaped. Escaped parenthesis in the SQL search were tolerated by PostgreSQL but not by SQLite.
This commit is contained in:
Alexandre Alapetite authored and GitHub committed 2023-09-05 17:33:38 +02:00
1 parent 1c7c1016f4
commit 2e1d45a88d
3 files changed
+9 -3

No files matched your search

+2 -2
View File
@@ -330,8 +330,8 @@ class SearchTest extends PHPUnit\Framework\TestCase {
[
'intitle:"\\(test\\)"',
'(e.title LIKE ? )',
['%\\(test\\)%'],
]
['%(test)%'],
],
];
}
}