From 673a69048a55e82e9f716f17e592f96952c1380e Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 12 Feb 2024 18:22:56 +0200 Subject: [PATCH] do item 2 of this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/5802667#context --- files/helpers/sanitize.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index 7b8a314d0..f82f1e038 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -747,8 +747,6 @@ def normalize_url(url): url = urlunparse(new_url) domain = tldextract.extract(url).registered_domain - if domain not in {'ar15.com','urlebird.com'}: - url = url.rstrip('/') url = imgur_regex.sub(r'\1_d.webp?maxwidth=9999&fidelity=grand', url)