Skip to content

A free, self-hostable news aggregator…

Search allow double quotes

Alexandre Alapetite3011bbc5e136
diff --git a/app/Models/Search.php b/app/Models/Search.php
index 2e89ea05b..5cc7f8e8d 100644
--- a/app/Models/Search.php
+++ b/app/Models/Search.php
@@ -35,6 +35,8 @@ class FreshRSS_Search {
}
$this->raw_input = $input;
+ $input = preg_replace('/:"(.*?)"/', ':"\1"', $input);
+
$input = $this->parseNotIntitleSearch($input);
$input = $this->parseNotAuthorSearch($input);
$input = $this->parseNotInurlSearch($input);