diff --git a/changedetectionio/update_worker.py b/changedetectionio/update_worker.py index 3fa47e37..d2a0931c 100644 --- a/changedetectionio/update_worker.py +++ b/changedetectionio/update_worker.py @@ -494,7 +494,7 @@ class update_worker(threading.Thread): # Record the 'server' header reply, can be used for actions in the future like cloudflare/akamai workarounds try: - server_header = update_handler.fetcher.headers.get('server', '').lower()[:255] + server_header = update_handler.fetcher.headers.get('server', '').trim().lower()[:255] self.datastore.update_watch(uuid=uuid, update_obj={'remote_server_reply': server_header} )