From b80ae16889a60ddc19165c574380774d5234a60c Mon Sep 17 00:00:00 2001 From: maaa Date: Mon, 10 Jul 2023 00:02:45 +0200 Subject: [PATCH] burger --- main | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main b/main index 17a2a47..13868d1 100644 --- a/main +++ b/main @@ -159,7 +159,7 @@ def user(pageusername): @app.route("/api/page/", methods=("GET", "POST")) def apipageuser(userid): pageuser = get_user(userid) - addhtml = """""" + addhtml = """ """ if not pageuser == "error": return addhtml + pageuser["htmldescription"] @@ -179,7 +179,7 @@ def edituser(pageusername): user = get_user(userCookie["id"]) if pageuser["username"] == user["username"]: if request.method == "POST": - code = request.form["code"].replace("Content-Security-Policy", "") + code = request.form["code"].replace("Content-Security-Policy", "").replace("