Include actor image url in links

master
Bob Mottram 2019-07-28 21:28:47 +01:00
parent aa3fa5f049
commit 8a24d7437d
1 changed files with 2 additions and 1 deletions

View File

@ -406,7 +406,8 @@ class PubServer(BaseHTTPRequestHandler):
'/icons/' not in self.path: '/icons/' not in self.path:
divertToLoginScreen=True divertToLoginScreen=True
if self.path.startswith('/users/'): if self.path.startswith('/users/'):
if '/' not in self.path.split('/users/')[1]: nickStr=self.path.split('/users/')[1]
if '/' not in nickStr and '?' not in nickStr:
divertToLoginScreen=False divertToLoginScreen=False
else: else:
if self.path.endswith('/following') or \ if self.path.endswith('/following') or \