mirror of https://gitlab.com/bashrc2/epicyon
Avoid circularity
parent
55c6faf20b
commit
307d386cc3
|
@ -10374,7 +10374,8 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
usersInPath = True
|
usersInPath = True
|
||||||
|
|
||||||
# redirect to the welcome screen
|
# redirect to the welcome screen
|
||||||
if htmlGET and authorized and usersInPath:
|
if htmlGET and authorized and usersInPath and \
|
||||||
|
not self.path.endswith('/welcome'):
|
||||||
nickname = self.path.split('/users/')[1]
|
nickname = self.path.split('/users/')[1]
|
||||||
if '/' in nickname:
|
if '/' in nickname:
|
||||||
nickname = nickname.split('/')[0]
|
nickname = nickname.split('/')[0]
|
||||||
|
|
Loading…
Reference in New Issue