Extra protocol prefix

main
Bob Mottram 2023-01-09 23:29:40 +00:00
parent 5da7bec901
commit 867a7a4e03
1 changed files with 1 additions and 0 deletions

View File

@ -267,6 +267,7 @@ def wellknown_protocol_handler(path: str, base_dir: str,
if not target: if not target:
return None return None
if not target.startswith('web+epicyon:') and \ if not target.startswith('web+epicyon:') and \
not target.startswith('web+mastodon:') and \
not target.startswith('web+ap:'): not target.startswith('web+ap:'):
return None return None
handle = target.split(':', 1)[1].strip() handle = target.split(':', 1)[1].strip()