mirror of https://gitlab.com/bashrc2/epicyon
Handle different users path for vcard
parent
5803c937c4
commit
346d11f77a
|
@ -1202,6 +1202,8 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
return False
|
return False
|
||||||
if 'application/' in accept_str:
|
if 'application/' in accept_str:
|
||||||
return False
|
return False
|
||||||
|
if path.startswith('/@'):
|
||||||
|
path = path.replace('/@', '/users/', 1)
|
||||||
if not path.startswith('/users/'):
|
if not path.startswith('/users/'):
|
||||||
self._400()
|
self._400()
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in New Issue