diff --git a/webservice/components/request_adapter.py b/webservice/components/request_adapter.py index 9399729c..4b348e2e 100644 --- a/webservice/components/request_adapter.py +++ b/webservice/components/request_adapter.py @@ -68,7 +68,7 @@ def _get_url(self, url=None, url_params=None, **kwargs): url = self.collection.url elif not url.startswith(self.collection.url): if not url.startswith("http"): - url = f"{self.collection.url.rstrip('/')/{url.lstrip('/')" + url = f"{self.collection.url.rstrip('/')}/{url.lstrip('/')}" else: # TODO: if url is given, we should validate the domain # to avoid abusing a webservice backend for different calls.