From 6f8956d34b6b1ca47f503f3f6dec0858ff980ce5 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sun, 3 Mar 2024 04:13:17 +0200 Subject: [PATCH] retard-proof --- files/routes/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/routes/settings.py b/files/routes/settings.py index 5724da09f..fe5ec4bc1 100644 --- a/files/routes/settings.py +++ b/files/routes/settings.py @@ -1037,6 +1037,7 @@ def settings_pronouns_change(v): def settings_twitter(v): twitter = process_settings_plaintext("twitter", v.twitter, 50, "twitter.com") + twitter = twitter.replace('https://', '').rstrip('/') v.twitter = twitter g.db.add(v)