mirror of https://gitlab.com/bashrc2/epicyon
Return to ?
parent
7c3506d990
commit
221862705e
12
daemon.py
12
daemon.py
|
@ -12590,13 +12590,13 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
# after selecting a shared item from the left column then show it
|
||||
if htmlGET and '?showshare=' in self.path and '/users/' in self.path:
|
||||
itemID = self.path.split('?showshare=')[1]
|
||||
if ';' in itemID:
|
||||
itemID = itemID.split(';')[0]
|
||||
if '?' in itemID:
|
||||
itemID = itemID.split('?')[0]
|
||||
category = ''
|
||||
if ';category=' in self.path:
|
||||
category = self.path.split(';category=')[1]
|
||||
if ';' in category:
|
||||
category = category.split(';')[0]
|
||||
if '?category=' in self.path:
|
||||
category = self.path.split('?category=')[1]
|
||||
if '?' in category:
|
||||
category = category.split('?')[0]
|
||||
usersPath = self.path.split('?showshare=')[0]
|
||||
nickname = usersPath.replace('/users/', '')
|
||||
itemID = urllib.parse.unquote_plus(itemID.strip())
|
||||
|
|
Loading…
Reference in New Issue