mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 09:51:22 +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 */
|
iStr = strtoul(hex, NULL, 16); /* convert to Hex char */
|
||||||
result += (char) iStr;
|
result += (char) iStr;
|
||||||
count += 3;
|
count += 3;
|
||||||
|
#if 0
|
||||||
|
//why decode '+' to ' ' ?
|
||||||
} else if (string[count] == '+') {
|
} else if (string[count] == '+') {
|
||||||
result += ' ';
|
result += ' ';
|
||||||
count++;
|
count++;
|
||||||
|
#endif
|
||||||
} else {
|
} else {
|
||||||
result += string[count];
|
result += string[count];
|
||||||
count++;
|
count++;
|
||||||
|
Reference in New Issue
Block a user