diff --git a/backend.php b/backend.php index 8b031affa..292f5e615 100644 --- a/backend.php +++ b/backend.php @@ -2235,8 +2235,8 @@ if ($subop == "test") { - $expr = trim($_GET["expr"]); - $descr = trim($_GET["descr"]); + $expr = db_unescape_string(trim($_GET["expr"])); + $descr = db_unescape_string(trim($_GET["descr"])); print "
Match all unread articles:
-unread = true+
ttrss_user_entries.unread = true
Matches all articles which mention Linux in the title:
-title like '%Linux%'+
ttrss_user_entries.title like '%Linux%'
See the database schema included in the distribution package for gruesome details.