mirror of https://gitlab.com/bashrc2/epicyon
Check for nickname
parent
ac2f09c1a6
commit
f3ef2c0c02
|
@ -12323,7 +12323,9 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
nicknameStr = nicknameStr.split('?')[0]
|
||||
if '/' in nicknameStr:
|
||||
nickname = nicknameStr.split('/')[0]
|
||||
else:
|
||||
if not nickname:
|
||||
print('WARN: no nickname found when receiving ' + postType +
|
||||
' path ' + path)
|
||||
return -1
|
||||
if self.server.debug:
|
||||
print('DEBUG: POST nickname ' + nickname)
|
||||
|
|
Loading…
Reference in New Issue