From a54c25fe016dc857bb16ff3cd81381570c5fc792 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 13 Dec 2019 20:58:16 +0000 Subject: [PATCH] Check for search --- daemon.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index 9f1da4c6..a35b1019 100644 --- a/daemon.py +++ b/daemon.py @@ -1668,7 +1668,8 @@ class PubServer(BaseHTTPRequestHandler): # search for a fediverse address, shared item or emoji # from the web interface by selecting search icon if htmlGET and '/users/' in self.path: - if self.path.endswith('/search'): + if self.path.endswith('/search') or \ + '/search?' in self.path: # show the search screen msg=htmlSearch(self.server.translate, \ self.server.baseDir,self.path).encode()