make sure named server URLs include trailing slash

This commit is contained in:
Min RK
2023-03-30 12:29:56 +02:00
parent e42066f1c9
commit 295e92270b
2 changed files with 14 additions and 1 deletions

View File

@@ -588,7 +588,7 @@ class User:
if not server_name:
return self.url
else:
return url_path_join(self.url, url_escape_path(server_name))
return url_path_join(self.url, url_escape_path(server_name), "/")
def progress_url(self, server_name=''):
"""API URL for progress endpoint for a server with a given name"""