forked from indymedia/epicyon
http prefix for actor
parent
40c949f054
commit
7c9f78f97d
|
@ -2456,7 +2456,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
pageNumber=int(pageNumberStr)
|
||||
self.path=self.path.split('?page=')[0]
|
||||
|
||||
actorStr=self.server.domainFull+self.path.replace('/searchhandle','')
|
||||
actorStr=self.server.httpPrefix+'://'+self.server.domainFull+self.path.replace('/searchhandle','')
|
||||
length = int(self.headers['Content-length'])
|
||||
searchParams=self.rfile.read(length).decode('utf-8')
|
||||
if 'searchtext=' in searchParams:
|
||||
|
|
|
@ -102,7 +102,6 @@ def htmlSearchSharedItems(baseDir: str,searchStr: str, \
|
|||
"""
|
||||
currPage=1
|
||||
ctr=0
|
||||
actor=httpPrefix+'://'+actor
|
||||
sharedItemsForm=''
|
||||
searchStrLower=searchStr.replace('%2B','+').replace('%40','@').replace('%3A',':').replace('%23','#').lower().strip('\n')
|
||||
searchStrLowerList=searchStrLower.split('+')
|
||||
|
|
Loading…
Reference in New Issue