From 9a896ea81ebf8490410aa8157c878f3462a26067 Mon Sep 17 00:00:00 2001 From: Ozzieisaacs Date: Sat, 26 Sep 2020 07:51:29 +0200 Subject: [PATCH] Removed logging of headers as it caused trouble while showing logfile in UI --- cps/web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/web.py b/cps/web.py index 752555c5..96931e61 100644 --- a/cps/web.py +++ b/cps/web.py @@ -133,7 +133,7 @@ def add_security_headers(resp): resp.headers['X-Frame-Options'] = 'SAMEORIGIN' resp.headers['X-XSS-Protection'] = '1; mode=block' resp.headers['Strict-Transport-Security'] = 'max-age=31536000; includeSubDomains' - log.debug(request.headers) + # log.debug(request.full_path) return resp web = Blueprint('web', __name__)