synapse-product/synapse/_scripts
Dmitry Borodaenko 7c43447477
Strip trailing / from server_url in register_new_matrix_user ()
When server URL provided to register_new_matrix_user includes path
component (e.g. "http://localhost:8008/"), the command fails with
"ERROR! Received 400 Bad Request". Stripping trailing slash from the
server_url command argument makes sure combined endpoint URL remains
valid.

Signed-off-by: Dmitry Borodaenko angdraug@debian.org
2020-11-26 10:57:26 +00:00
..
__init__.py Port register_new_matrix_user to Python 3 and add tests () 2018-10-26 22:05:22 +11:00
register_new_matrix_user.py Strip trailing / from server_url in register_new_matrix_user () 2020-11-26 10:57:26 +00:00