From f8a619a97df404cfad79b8ae955919aa976f6f6e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 28 Jul 2021 16:00:28 +0100 Subject: [PATCH] Debug --- daemon.py | 2 ++ webapp_confirm.py | 1 + 2 files changed, 3 insertions(+) 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)