diff --git a/qfieldcloud_sdk/sdk.py b/qfieldcloud_sdk/sdk.py index 8b9d409..12952a6 100644 --- a/qfieldcloud_sdk/sdk.py +++ b/qfieldcloud_sdk/sdk.py @@ -1727,7 +1727,7 @@ def _request( if path.startswith("/"): path = path[1:] - if not path.endswith("/"): + if not path.endswith("/") and path.find("?") == -1: path += "/" path = self.url + path