diff --git a/daemon.py b/daemon.py index 59fa85c7f..fc27a57ba 100644 --- a/daemon.py +++ b/daemon.py @@ -11257,7 +11257,9 @@ class PubServer(BaseHTTPRequestHandler): # remove a shared item if htmlGET and '?rmshare=' in self.path: itemID = self.path.split('?rmshare=')[1] + print('Shared item ID 0: ' + itemID) itemID = urllib.parse.unquote_plus(itemID.strip()) + print('Shared item ID 1: ' + itemID) usersPath = self.path.split('?rmshare=')[0] actor = \ self.server.httpPrefix + '://' + \ diff --git a/webapp_confirm.py b/webapp_confirm.py index bc6ce6784..4c09218a8 100644 --- a/webapp_confirm.py +++ b/webapp_confirm.py @@ -107,6 +107,7 @@ def htmlConfirmRemoveSharedItem(cssCache: {}, translate: {}, baseDir: str, callingDomain: str) -> str: """Shows a screen asking to confirm the removal of a shared item """ + print('Shared item ID 2: ' + itemID) nickname = getNicknameFromActor(actor) domain, port = getDomainFromActor(actor) domainFull = getFullDomain(domain, port)