src/nhttpd/yhttpd_core/helper.cpp: dont decode '+' to ' ', fix for channelname with '+'

This commit is contained in:
satbaby
2012-12-14 14:34:18 +01:00
parent b1138e16b0
commit 42b69a8a5e

View File

@@ -203,9 +203,12 @@ std::string decodeString(std::string encodedString) {
iStr = strtoul(hex, NULL, 16); /* convert to Hex char */
result += (char) iStr;
count += 3;
#if 0
//why decode '+' to ' ' ?
} else if (string[count] == '+') {
result += ' ';
count++;
#endif
} else {
result += string[count];
count++;