mirror of https://gitlab.com/bashrc2/epicyon
Extra check
parent
d0c1546037
commit
67c6c16ef4
|
@ -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 +
|
||||||
|
|
1
posts.py
1
posts.py
|
@ -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']:
|
||||||
|
|
Loading…
Reference in New Issue