mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
nhttpd: skip doubles decode on channlename, revert 42b69a8a5e
This commit is contained in:
@@ -161,7 +161,11 @@ bool CWebserverRequest::ParseParams(std::string param_string) {
|
||||
if (!ySplitStringExact(param_string, "&", param, param_string))
|
||||
ende = true;
|
||||
if (ySplitStringExact(param, "=", name, value)) {
|
||||
value = trim(decodeString(value));
|
||||
if("channelname" == name){//skip doubles decode on channlename
|
||||
value = trim((value));
|
||||
}else{
|
||||
value = trim(decodeString(value));
|
||||
}
|
||||
if (ParameterList[name].empty())
|
||||
ParameterList[name] = value;
|
||||
else {
|
||||
|
Reference in New Issue
Block a user