diff --git a/pkgs/clan-cli/clan_cli/clan_uri.py b/pkgs/clan-cli/clan_cli/clan_uri.py index 276562814..dafc702b4 100644 --- a/pkgs/clan-cli/clan_cli/clan_uri.py +++ b/pkgs/clan-cli/clan_cli/clan_uri.py @@ -41,6 +41,8 @@ class ClanParameters: class ClanURI: # Initialize the class with a clan:// URI def __init__(self, uri: str) -> None: + # users might copy whitespace along with the uri + uri = uri.strip() self._full_uri = uri # Check if the URI starts with clan:// if uri.startswith("clan://"):