From 8a24d7437deb092a08be56b4cbc316ab8da50ccc Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 28 Jul 2019 21:28:47 +0100 Subject: [PATCH] Include actor image url in links --- daemon.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index e264a668..6da6f45c 100644 --- a/daemon.py +++ b/daemon.py @@ -406,7 +406,8 @@ class PubServer(BaseHTTPRequestHandler): '/icons/' not in self.path: divertToLoginScreen=True 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 else: if self.path.endswith('/following') or \