mirror of https://gitlab.com/bashrc2/epicyon
Check users path
parent
a04ff0e21c
commit
30dfdf8286
|
@ -802,7 +802,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
calling_domain: str) -> str:
|
calling_domain: str) -> str:
|
||||||
"""Returns the public key for an account
|
"""Returns the public key for an account
|
||||||
"""
|
"""
|
||||||
if not has_users_path(path):
|
if '/users/' not in path:
|
||||||
return None
|
return None
|
||||||
nickname = path.split('/users/')[1]
|
nickname = path.split('/users/')[1]
|
||||||
if '#' not in nickname:
|
if '#' not in nickname:
|
||||||
|
|
Loading…
Reference in New Issue