Unquote handle

merge-requests/10/merge
Bob Mottram 2021-02-02 10:43:04 +00:00
parent b73c730d37
commit 11a9cea1a2
1 changed files with 1 additions and 0 deletions

View File

@ -221,6 +221,7 @@ def webfingerLookup(path: str, baseDir: str,
handle = None handle = None
if 'resource=acct:' in path: if 'resource=acct:' in path:
handle = path.split('resource=acct:')[1].strip() handle = path.split('resource=acct:')[1].strip()
handle = urllib.parse.unquote(handle)
if debug: if debug:
print('DEBUG: WEBFINGER handle ' + handle) print('DEBUG: WEBFINGER handle ' + handle)
else: else: