diff --git a/sagemcom_api/client.py b/sagemcom_api/client.py index fef370d..203153a 100644 --- a/sagemcom_api/client.py +++ b/sagemcom_api/client.py @@ -414,7 +414,7 @@ async def get_value_by_xpath(self, xpath: str, options: dict | None = None) -> d actions = { "id": 0, "method": "getValue", - "xpath": urllib.parse.quote(xpath), + "xpath": urllib.parse.quote(xpath, "/=[]'"), "options": options if options else {}, }