forked from indymedia/epicyon
Replace codes
parent
44b5c569b9
commit
ee73e5866c
|
@ -731,6 +731,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
# remove a shared item
|
# remove a shared item
|
||||||
if htmlGET and '?rmshare=' in self.path:
|
if htmlGET and '?rmshare=' in self.path:
|
||||||
shareName=self.path.split('?rmshare=')[1]
|
shareName=self.path.split('?rmshare=')[1]
|
||||||
|
shareName=shareName.replace('%20',' ').replace('%40','@').replace('%3A',':').replace('%23','#')
|
||||||
actor=self.server.httpPrefix+'://'+self.server.domainFull+self.path.split('?rmshare=')[0]
|
actor=self.server.httpPrefix+'://'+self.server.domainFull+self.path.split('?rmshare=')[0]
|
||||||
msg=htmlRemoveSharedItem(self.server.translate,self.server.baseDir,actor,shareName).encode()
|
msg=htmlRemoveSharedItem(self.server.translate,self.server.baseDir,actor,shareName).encode()
|
||||||
if not msg:
|
if not msg:
|
||||||
|
|
Loading…
Reference in New Issue