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 authored and Paulus Schoutsen committed 2018-01-29 16:04:03 -08:00
1 parent 8709a397f6
commit e084a260c6
1 file changed
+1 -1
@@ -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)