Fix parameter escaping (#12008)

From rfc3986: The characters slash ("/") and question mark ("?") may represent data within the query component

See https://tools.ietf.org/html/rfc3986#section-3.4
This commit is contained in:
smoldaner 2018-01-30 00:02:26 +01:00 committed by Paulus Schoutsen
parent 99c6a10b99
commit 6d59dad1ce

View file

@ -494,5 +494,5 @@ class SqueezeBoxDevice(MediaPlayerDevice):
all_params = [command]
if parameters:
for parameter in parameters:
all_params.append(urllib.parse.quote(parameter, safe=':='))
all_params.append(urllib.parse.quote(parameter, safe=':=/?'))
return self.async_query(*all_params)