From 9f38b6f462ca4041b92b816acdc4036ba0e4fd7c Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 10 Dec 2021 00:45:59 +0200 Subject: [PATCH 1/6] fdsdfs --- files/__main__.py | 2 +- files/templates/default.html | 1 - files/templates/home.html | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/__main__.py b/files/__main__.py index de8ff43f9..d7b1a9a91 100644 --- a/files/__main__.py +++ b/files/__main__.py @@ -125,7 +125,7 @@ def after_request(response): response.headers.add("Strict-Transport-Security", "max-age=31536000") response.headers.add("X-Frame-Options", "deny") - response.headers.add("Content-Security-Policy", "script-src 'self' 'unsafe-inline' 'unsafe-eval'; connect-src 'self' tls-use1.fpapi.io api.fpjs.io 02ddcc80-b8db-42be-9022-44c546b4dce6.pushnotifications.pusher.com; object-src 'none';") + response.headers.add("Content-Security-Policy", "script-src 'self' 'unsafe-inline' 'unsafe-eval' 'sha256-68ef204ba201db38f6b29ac6b66f16ccde9d2215125ffe408d1bd4a3882a9966'; connect-src 'self' tls-use1.fpapi.io api.fpjs.io 02ddcc80-b8db-42be-9022-44c546b4dce6.pushnotifications.pusher.com; object-src 'none';") return response from files.routes import * \ No newline at end of file diff --git a/files/templates/default.html b/files/templates/default.html index 95503fa9f..5a8fd36fb 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -2,7 +2,6 @@ - {% if v %} diff --git a/files/templates/home.html b/files/templates/home.html index 390866c5a..1d63600ab 100644 --- a/files/templates/home.html +++ b/files/templates/home.html @@ -148,6 +148,7 @@ {% endif %} {% if v %} +
{% endif %} From 538b9e09dc0f02666b7b981f5a3a9520dba8039d Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 10 Dec 2021 00:48:07 +0200 Subject: [PATCH 2/6] fsdfds --- files/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/__main__.py b/files/__main__.py index d7b1a9a91..846303c0f 100644 --- a/files/__main__.py +++ b/files/__main__.py @@ -125,7 +125,7 @@ def after_request(response): response.headers.add("Strict-Transport-Security", "max-age=31536000") response.headers.add("X-Frame-Options", "deny") - response.headers.add("Content-Security-Policy", "script-src 'self' 'unsafe-inline' 'unsafe-eval' 'sha256-68ef204ba201db38f6b29ac6b66f16ccde9d2215125ffe408d1bd4a3882a9966'; connect-src 'self' tls-use1.fpapi.io api.fpjs.io 02ddcc80-b8db-42be-9022-44c546b4dce6.pushnotifications.pusher.com; object-src 'none';") + response.headers.add("Content-Security-Policy", "script-src 'self' 'unsafe-inline' 'unsafe-eval' 'sha256-; connect-src 'self' tls-use1.fpapi.io api.fpjs.io 02ddcc80-b8db-42be-9022-44c546b4dce6.pushnotifications.pusher.com; object-src 'none';") return response from files.routes import * \ No newline at end of file From 91d3f840c36e23077d7ae93b9bba240bf7e9edc4 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 10 Dec 2021 00:49:03 +0200 Subject: [PATCH 3/6] sfdfsd --- files/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/__main__.py b/files/__main__.py index 846303c0f..a1656c799 100644 --- a/files/__main__.py +++ b/files/__main__.py @@ -125,7 +125,7 @@ def after_request(response): response.headers.add("Strict-Transport-Security", "max-age=31536000") response.headers.add("X-Frame-Options", "deny") - response.headers.add("Content-Security-Policy", "script-src 'self' 'unsafe-inline' 'unsafe-eval' 'sha256-; connect-src 'self' tls-use1.fpapi.io api.fpjs.io 02ddcc80-b8db-42be-9022-44c546b4dce6.pushnotifications.pusher.com; object-src 'none';") + response.headers.add("Content-Security-Policy", "script-src 'self' 'unsafe-inline' 'unsafe-eval' ajax.cloudflare.com; connect-src 'self' tls-use1.fpapi.io api.fpjs.io 02ddcc80-b8db-42be-9022-44c546b4dce6.pushnotifications.pusher.com; object-src 'none';") return response from files.routes import * \ No newline at end of file From 3d449992484d615582d6301e1333296b1acce531 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 10 Dec 2021 00:51:12 +0200 Subject: [PATCH 5/6] sfddfs --- files/templates/home.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/templates/home.html b/files/templates/home.html index 1d63600ab..c37e10d38 100644 --- a/files/templates/home.html +++ b/files/templates/home.html @@ -148,8 +148,8 @@ {% endif %} {% if v %} -
- +
{{v.strid}}
+ {% endif %} {% endblock %} \ No newline at end of file From f10e0259760a1ca2eb8231658e43b3d0507c34d3 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 10 Dec 2021 00:51:56 +0200 Subject: [PATCH 6/6] fdsfsd --- files/templates/userpage.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/templates/userpage.html b/files/templates/userpage.html index b196ec8d1..02d8cf50d 100644 --- a/files/templates/userpage.html +++ b/files/templates/userpage.html @@ -727,5 +727,5 @@
{{u.username}}
{% endif %} - + {% endblock %} \ No newline at end of file