mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
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:
@@ -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