diff --git a/daemon.py b/daemon.py index 83eb13503..2850e2a08 100644 --- a/daemon.py +++ b/daemon.py @@ -1025,6 +1025,8 @@ class PubServer(BaseHTTPRequestHandler): # to be authorized to use an account you don't own if '/' + nickname + '/' in self.path: return True + if '/' + nickname + '?' in self.path: + return True if self.path.endswith('/'+nickname): return True print('AUTH: nickname ' + nickname + diff --git a/posts.py b/posts.py index 38ccd3e21..efa33e069 100644 --- a/posts.py +++ b/posts.py @@ -150,7 +150,6 @@ def parseUserFeed(session, feedUrl: str, asHeader: {}, projectVersion, httpPrefix, domain) if not feedJson: return - print('parseUserFeed: ' + str(feedJson)) if 'orderedItems' in feedJson: for item in feedJson['orderedItems']: