diff options
author | Elmer Miroslav Mosher Golovin <miroslav@mishamosher.com> | 2023-03-27 12:55:25 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-27 12:55:25 +0300 |
commit | 53fb5613cf9dac16191400d6086f896dbf8248eb (patch) | |
tree | a6fc201e21b27e39aaa3bb8258b4b28ea773a0e1 /recording | |
parent | 53db9e2afad161353ddbdceea39ed9ba9adaaa83 (diff) |
Ensure no double slashes on request URLs
Signed-off-by: Elmer Miroslav Mosher Golovin <miroslav@mishamosher.com>
Diffstat (limited to 'recording')
-rw-r--r-- | recording/src/nextcloud/talk/recording/BackendNotifier.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recording/src/nextcloud/talk/recording/BackendNotifier.py b/recording/src/nextcloud/talk/recording/BackendNotifier.py index 48d347cb9..c15238512 100644 --- a/recording/src/nextcloud/talk/recording/BackendNotifier.py +++ b/recording/src/nextcloud/talk/recording/BackendNotifier.py @@ -86,7 +86,7 @@ def backendRequest(backend, data): :param backend: the backend to send the data to. :param data: the data to send. """ - url = backend + '/ocs/v2.php/apps/spreed/api/v1/recording/backend' + url = backend.rstrip('/') + '/ocs/v2.php/apps/spreed/api/v1/recording/backend' data = json.dumps(data).encode() |