From 345df667c2ac319271e6a5ef54d209adfaf28382 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 15 Feb 2021 13:10:08 +0000 Subject: [PATCH] Check that manifest is not a http request --- daemon.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/daemon.py b/daemon.py index 7bce1faec..d0093cdcd 100644 --- a/daemon.py +++ b/daemon.py @@ -10130,9 +10130,11 @@ class PubServer(BaseHTTPRequestHandler): # manifest for progressive web apps if '/manifest.json' in self.path: - self._progressiveWebAppManifest(callingDomain, - GETstartTime, GETtimings) - return + if self._hasAccept(callingDomain): + if not self._requestHTTP(): + self._progressiveWebAppManifest(callingDomain, + GETstartTime, GETtimings) + return # default newswire favicon, for links to sites which # have no favicon