diff --git a/artifactory.py b/artifactory.py index 43d0f4e..61a16c9 100755 --- a/artifactory.py +++ b/artifactory.py @@ -2463,7 +2463,7 @@ def _get_all(self, lazy: bool, url=None, key="name", cls=None): "return: A list of found objects """ if cls is Project: - request_url = self.drive.rstrip("/artifactory") + url + request_url = re.sub(r"/artifactory$", "", self.drive) + url else: request_url = self.drive + url response = self.session.get(request_url, auth=self.auth)