nhttpd: skip doubles decode on channlename, revert 42b69a8a5e

This commit is contained in:
satbaby
2012-12-17 12:58:24 +01:00
parent 42b69a8a5e
commit ed318d97bc
2 changed files with 5 additions and 4 deletions

View File

@@ -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 {