From c98eec8b851254efc47c1089e2584be5629d2178 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 12 Sep 2021 13:49:51 +0100 Subject: [PATCH] Get referer domain from signature --- daemon.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index b3eb97ae1..6aa7122e4 100644 --- a/daemon.py +++ b/daemon.py @@ -6510,7 +6510,8 @@ class PubServer(BaseHTTPRequestHandler): 'https://' + self.server.domainFull) msg = ontologyFile.encode('utf-8') - self._set_headers(ontologyFileType, len(msg), + msglen = len(msg) + self._set_headers(ontologyFileType, msglen, None, callingDomain, False) self._write(msg) self._benchmarkGETtimings(GETstartTime, GETtimings,