From d433180047343b250edd142670ef55dc49e3fcbf Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 13 Sep 2021 20:25:03 +0100 Subject: [PATCH] Don't allow svg image attachments on new posts --- webapp_create_post.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webapp_create_post.py b/webapp_create_post.py index 2ac46dff3..198191b4b 100644 --- a/webapp_create_post.py +++ b/webapp_create_post.py @@ -298,8 +298,11 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {}, newPostImageSection += \ ' \n' + ' accept="' + formatsString + '">\n' newPostImageSection += ' \n' scopeIcon = 'scope_public.png'