Extra protocol prefix

main
Bob Mottram 2023-01-09 23:29:14 +00:00
parent 796a71e74d
commit 5da7bec901
1 changed files with 2 additions and 1 deletions

View File

@ -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('//'):