aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Search.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/Search.php')
-rw-r--r--app/Models/Search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/Search.php b/app/Models/Search.php
index 4d33f36b2..aca21e558 100644
--- a/app/Models/Search.php
+++ b/app/Models/Search.php
@@ -149,7 +149,7 @@ class FreshRSS_Search implements \Stringable {
}
private static function quote(string $s): string {
- if (strpbrk($s, ' "\'\\') !== false || $s === '') {
+ if (strpbrk($s, ' "\'\\/') !== false || $s === '') {
return '"' . addcslashes($s, '\\"') . '"';
}
return $s;