mirror of https://gitlab.com/bashrc2/epicyon
Avoid favicon confusion
parent
06165e76a9
commit
791bbcf423
23
daemon.py
23
daemon.py
|
@ -13425,18 +13425,19 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
|
||||
# default newswire favicon, for links to sites which
|
||||
# have no favicon
|
||||
if 'newswire_favicon.ico' in self.path:
|
||||
self._getFavicon(callingDomain, self.server.baseDir,
|
||||
self.server.debug,
|
||||
'newswire_favicon.ico')
|
||||
return
|
||||
if not self.path.startswith('/favicons/'):
|
||||
if 'newswire_favicon.ico' in self.path:
|
||||
self._getFavicon(callingDomain, self.server.baseDir,
|
||||
self.server.debug,
|
||||
'newswire_favicon.ico')
|
||||
return
|
||||
|
||||
# favicon image
|
||||
if 'favicon.ico' in self.path:
|
||||
self._getFavicon(callingDomain, self.server.baseDir,
|
||||
self.server.debug,
|
||||
'favicon.ico')
|
||||
return
|
||||
# favicon image
|
||||
if 'favicon.ico' in self.path:
|
||||
self._getFavicon(callingDomain, self.server.baseDir,
|
||||
self.server.debug,
|
||||
'favicon.ico')
|
||||
return
|
||||
|
||||
# check authorization
|
||||
authorized = self._isAuthorized()
|
||||
|
|
Loading…
Reference in New Issue