forked from indymedia/epicyon
Redirect on search failure
parent
c8142aa022
commit
132cb65030
|
@ -2608,6 +2608,10 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self.wfile.write(msg)
|
self.wfile.write(msg)
|
||||||
self.server.POSTbusy=False
|
self.server.POSTbusy=False
|
||||||
return
|
return
|
||||||
|
else:
|
||||||
|
self._redirect_headers(actorStr+'/search',cookie)
|
||||||
|
self.server.POSTbusy=False
|
||||||
|
return
|
||||||
elif searchStr.startswith(':') or \
|
elif searchStr.startswith(':') or \
|
||||||
searchStr.lower().strip('\n').endswith(' emoji'):
|
searchStr.lower().strip('\n').endswith(' emoji'):
|
||||||
# eg. "cat emoji"
|
# eg. "cat emoji"
|
||||||
|
|
Loading…
Reference in New Issue