mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
src/nhttpd/yhttpd_core/helper.cpp: dont decode '+' to ' ', fix for channelname with '+'
This commit is contained in:
@@ -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++;
|
||||
|
Reference in New Issue
Block a user