Extra check

main
Bob Mottram 2020-06-28 11:29:20 +01:00
parent d0c1546037
commit 67c6c16ef4
2 changed files with 2 additions and 1 deletions

View File

@ -1025,6 +1025,8 @@ class PubServer(BaseHTTPRequestHandler):
# to be authorized to use an account you don't own # to be authorized to use an account you don't own
if '/' + nickname + '/' in self.path: if '/' + nickname + '/' in self.path:
return True return True
if '/' + nickname + '?' in self.path:
return True
if self.path.endswith('/'+nickname): if self.path.endswith('/'+nickname):
return True return True
print('AUTH: nickname ' + nickname + print('AUTH: nickname ' + nickname +

View File

@ -150,7 +150,6 @@ def parseUserFeed(session, feedUrl: str, asHeader: {},
projectVersion, httpPrefix, domain) projectVersion, httpPrefix, domain)
if not feedJson: if not feedJson:
return return
print('parseUserFeed: ' + str(feedJson))
if 'orderedItems' in feedJson: if 'orderedItems' in feedJson:
for item in feedJson['orderedItems']: for item in feedJson['orderedItems']: