mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-04 19:52:33 +00:00
Avoid circularity
This commit is contained in:
1 parent
55c6faf20b
commit
307d386cc3
1 file changed
+2
-1
@@ -10374,7 +10374,8 @@ class PubServer(BaseHTTPRequestHandler):
|
||||
usersInPath = True
|
||||
|
||||
# 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]
|
||||
if '/' in nickname:
|
||||
nickname = nickname.split('/')[0]
|
||||
|
||||
Reference in new issue
Block a user