Skip to content

server url not normalized #8

Description

@ghciv6

i've added a trailing slash to the server url in config.py

$ grep server .config/matrixcli/config.py 
accounts=[{ "server":"https://chat.privacytools.io/",

any operation then fails with:

matrix_client.errors.MatrixRequestError: 404: 
<html>
  <head><title>404 - No Such Resource</title></head>
  <body>
    <h1>No Such Resource</h1>
    <p>No such child resource.</p>
  </body>
</html>

Please handle the trailing slash properly or reject the url with an useful error message.

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