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

Origin commit data
------------------
Branch: ni/coolstream
Commit: 42b69a8a5e
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-12-14 (Fri, 14 Dec 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2012-12-14 14:34:18 +01:00
parent 17acd0c414
commit 0ac9beb40c

View File

@@ -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++;