diff --git a/webfinger.py b/webfinger.py index b9686d387..ac1d389da 100644 --- a/webfinger.py +++ b/webfinger.py @@ -266,7 +266,8 @@ def wellknown_protocol_handler(path: str, base_dir: str, target = target.split(';')[0] if not target: return None - if not target.startswith('web+epicyon:'): + if not target.startswith('web+epicyon:') and \ + not target.startswith('web+ap:'): return None handle = target.split(':', 1)[1].strip() if handle.startswith('//'):