From 867a7a4e03c4db2be806d3720acaadf438ae15dc Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 9 Jan 2023 23:29:40 +0000 Subject: [PATCH] Extra protocol prefix --- webfinger.py | 1 + 1 file changed, 1 insertion(+) diff --git a/webfinger.py b/webfinger.py index ac1d389da..257147862 100644 --- a/webfinger.py +++ b/webfinger.py @@ -267,6 +267,7 @@ def wellknown_protocol_handler(path: str, base_dir: str, if not target: return None if not target.startswith('web+epicyon:') and \ + not target.startswith('web+mastodon:') and \ not target.startswith('web+ap:'): return None handle = target.split(':', 1)[1].strip()