﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
11905	HttpRequest parsing fails on parameters containing encoded & character	dev-team@…	dblain	"Using the services api, while attempting to get the artwork for a recording containing a & in the title the backend would always fail to serve the artwork.
The sample http get request was http://master:6544/Content/GetImageFile?StorageGroup=Coverart&FileName=Eastbound+%26+Down+Season+4_coverart.jpg

the current httprequest.cpp first decodes the entire substring after ""?"" and therefore converts '%26' to '&' then it passes it to the GetParameters method which now reads erroneously an extra parameter.
GetParameters decodes each parameter name/value pair with fromPercentEncoding().

Attached is a patch that simply removes the decoding of the entire substring and let GetParameter do the decoding properly."	Patch - Bug Fix	closed	minor	0.27.1	MythTV - General	0.27-fixes	medium	fixed	httprequest services api		0
