From dc1f95de9a76eb258f414ea6bac7a45e36397c60 Mon Sep 17 00:00:00 2001 From: ajaggarcia10 <45190522+ajaggarcia10@users.noreply.github.com> Date: Tue, 14 Apr 2020 19:48:28 -0700 Subject: [PATCH] Completed XSS Protection --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index fd03988..4d3b187 100644 --- a/main.py +++ b/main.py @@ -31,7 +31,7 @@ def home():
{}
-""".format(m.content) +""".format(m.content.replace('<', '<').replace('>', '>')) return body