diff --git a/daemon.py b/daemon.py index 8bf82604..1e1c4fc0 100644 --- a/daemon.py +++ b/daemon.py @@ -754,7 +754,7 @@ class PubServer(BaseHTTPRequestHandler): '/emoji/' not in self.path and \ '/tags/' not in self.path and \ '/avatars/' not in self.path and \ - '/fullscreen?' not in self.path and \ + not self.path.startswith('/fullscreen') and \ '/icons/' not in self.path: divertToLoginScreen=True if self.path.startswith('/users/'): @@ -973,7 +973,7 @@ class PubServer(BaseHTTPRequestHandler): return # full screen images shown from the media timeline - if self.path.startswith('/fullscreen?'): + if self.path.startswith('/fullscreen'): imageFilename=self.path.split('?img=')[1] if '?' in imageFilename: imageFilename=imageFilename.split('?')[0]