Skip to content

Commit

Permalink
fixup! better combination of urls
Browse files Browse the repository at this point in the history
  • Loading branch information
gurneyalex committed Mar 12, 2024
1 parent 023d78d commit 0d974bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webservice/components/request_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 0d974bb

Please sign in to comment.