mirror of https://gitlab.com/bashrc2/epicyon
Debug
parent
11aa595f55
commit
f8a619a97d
|
@ -11257,7 +11257,9 @@ 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:
|
||||||
itemID = self.path.split('?rmshare=')[1]
|
itemID = self.path.split('?rmshare=')[1]
|
||||||
|
print('Shared item ID 0: ' + itemID)
|
||||||
itemID = urllib.parse.unquote_plus(itemID.strip())
|
itemID = urllib.parse.unquote_plus(itemID.strip())
|
||||||
|
print('Shared item ID 1: ' + itemID)
|
||||||
usersPath = self.path.split('?rmshare=')[0]
|
usersPath = self.path.split('?rmshare=')[0]
|
||||||
actor = \
|
actor = \
|
||||||
self.server.httpPrefix + '://' + \
|
self.server.httpPrefix + '://' + \
|
||||||
|
|
|
@ -107,6 +107,7 @@ def htmlConfirmRemoveSharedItem(cssCache: {}, translate: {}, baseDir: str,
|
||||||
callingDomain: str) -> str:
|
callingDomain: str) -> str:
|
||||||
"""Shows a screen asking to confirm the removal of a shared item
|
"""Shows a screen asking to confirm the removal of a shared item
|
||||||
"""
|
"""
|
||||||
|
print('Shared item ID 2: ' + itemID)
|
||||||
nickname = getNicknameFromActor(actor)
|
nickname = getNicknameFromActor(actor)
|
||||||
domain, port = getDomainFromActor(actor)
|
domain, port = getDomainFromActor(actor)
|
||||||
domainFull = getFullDomain(domain, port)
|
domainFull = getFullDomain(domain, port)
|
||||||
|
|
Loading…
Reference in New Issue