Webfinger strips extra space
This commit is contained in:
parent
698a2bae11
commit
164cd9bd00
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@ async def webfinger(
|
|||
resource: str,
|
||||
) -> dict[str, Any] | None: # noqa: C901
|
||||
"""Mastodon-like WebFinger resolution to retrieve the activity stream Actor URL."""
|
||||
resource = resource.strip()
|
||||
logger.info(f"performing webfinger resolution for {resource}")
|
||||
protos = ["https", "http"]
|
||||
if resource.startswith("http://"):
|
||||
|
|
Loading…
Reference in a new issue