Fonts not in path

main
Bob Mottram 2020-05-25 17:18:33 +01:00
parent af6d80d0a9
commit 95722d127e
1 changed files with 1 additions and 1 deletions

View File

@ -917,7 +917,7 @@ class PubServer(BaseHTTPRequestHandler):
return False
# token based authenticated used by the web interface
if self.headers.get('Cookie'):
if self.headers.get('Cookie') and '/fonts/' not in self.path:
if self.headers['Cookie'].startswith('epicyon='):
tokenStr = self.headers['Cookie'].split('=', 1)[1].strip()
if ';' in tokenStr: