From 0ac9beb40cb564446e477578b9c81a558afe1322 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Fri, 14 Dec 2012 14:34:18 +0100 Subject: [PATCH] src/nhttpd/yhttpd_core/helper.cpp: dont decode '+' to ' ', fix for channelname with '+' Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/42b69a8a5eb061ea90b25328be8c5ed5efd46782 Author: Jacek Jendrzej Date: 2012-12-14 (Fri, 14 Dec 2012) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/nhttpd/yhttpd_core/helper.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/nhttpd/yhttpd_core/helper.cpp b/src/nhttpd/yhttpd_core/helper.cpp index e2449fbbd..d529127fc 100644 --- a/src/nhttpd/yhttpd_core/helper.cpp +++ b/src/nhttpd/yhttpd_core/helper.cpp @@ -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++;