From a56447532548392c73285d07c9eeb720ad83c2e4 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Mon, 14 Nov 2022 10:28:05 +0100 Subject: [PATCH] Re #1126 HIDE_REFERER setting had wrong default --- changedetectionio/changedetection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changedetectionio/changedetection.py b/changedetectionio/changedetection.py index 3fb20f82..9d508a4a 100755 --- a/changedetectionio/changedetection.py +++ b/changedetectionio/changedetection.py @@ -107,7 +107,7 @@ def main(): # @Note: Incompatible with password login (and maybe other features) for now, submit a PR! @app.after_request def hide_referrer(response): - if strtobool(os.getenv("HIDE_REFERER", False)): + if strtobool(os.getenv("HIDE_REFERER", 'false')): response.headers["Referrer-Policy"] = "no-referrer" return response