From 3ff99b5eaa48bfec302f3ca348a2391b85cdeed2 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 28 Jan 2022 02:25:40 +0200 Subject: [PATCH] xcv --- files/routes/posts.py | 2 +- files/templates/settings_security.html | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/files/routes/posts.py b/files/routes/posts.py index 931fa1b7b8..0302c3ddea 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -704,7 +704,7 @@ def submit_post(v): parsed_url = urlparse(url) domain = parsed_url.netloc - if domain in ('old.reddit.com','twitter.com'): + if domain == 'old.reddit.com': new_url = ParseResult(scheme="https", netloc=parsed_url.netloc, path=parsed_url.path, diff --git a/files/templates/settings_security.html b/files/templates/settings_security.html index dedcbc4ad1..fbee12f8ac 100644 --- a/files/templates/settings_security.html +++ b/files/templates/settings_security.html @@ -68,6 +68,16 @@
+
+ + + + + +
+
@@ -106,16 +116,6 @@
-
- - - - - -
-