forked from indymedia/epicyon
Remove extra options from search path
parent
a54c25fe01
commit
1f460fbc3f
|
@ -1670,6 +1670,8 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
if htmlGET and '/users/' in self.path:
|
||||
if self.path.endswith('/search') or \
|
||||
'/search?' in self.path:
|
||||
if '?' in self.path:
|
||||
self.path=self.path.split('?')[0]
|
||||
# show the search screen
|
||||
msg=htmlSearch(self.server.translate, \
|
||||
self.server.baseDir,self.path).encode()
|
||||
|
|
Loading…
Reference in New Issue