From 8d8f7954e9b9732926768bd31d8e7f573690390f Mon Sep 17 00:00:00 2001 From: Kevin Morris Date: Tue, 18 Jan 2022 09:10:28 -0800 Subject: [PATCH] fix(routers.trusted_user): html.escape agenda Signed-off-by: Kevin Morris --- aurweb/routers/trusted_user.py | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/aurweb/routers/trusted_user.py b/aurweb/routers/trusted_user.py index ff1ebfa1..07ee17af 100644 --- a/aurweb/routers/trusted_user.py +++ b/aurweb/routers/trusted_user.py @@ -1,5 +1,4 @@ import html -import re import typing from http import HTTPStatus @@ -291,21 +290,18 @@ async def trusted_user_addvote_post(request: Request, duration, quorum = ADDVOTE_SPECIFICS.get(type) timestamp = time.utcnow() - # TODO: Review this. Is this even necessary? - # Remove