Skip to content

It is not possible to use passwords with special characters #108

Description

@sorienrot
URI = "ssh://serveradmin:Example#.,@example.es:10022"
team3 = ts3.query.TS3ServerConnection(URI)
Traceback (most recent call last):
  File "<input>", line 2, in <module>
  File "D:\XXX\Teamspeak\.venv\Lib\site-packages\ts3\query.py", line 367, in __init__
    self.open_uri(uri, tp_args=tp_args)
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
  File "D:\XXX\Teamspeak\.venv\Lib\site-packages\ts3\query.py", line 468, in open_uri
    port = p.port
           ^^^^^^
  File "C:\Program Files\Python313\Lib\urllib\parse.py", line 182, in port
    raise ValueError(f"Port could not be cast to integer value as {port!r}")
ValueError: Port could not be cast to integer value as 'Example'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions