nhttpd: don't decode URL parameters multiple times

Origin commit data
------------------
Branch: ni/coolstream
Commit: 1b4ad51d0a
Author: Gaucho316 <Gaucho316@hotmail.com>
Date: 2012-12-29 (Sat, 29 Dec 2012)


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

------------------
This commit was generated by Migit
This commit is contained in:
Gaucho316
2012-12-29 17:53:05 +01:00
committed by Michael Liebmann
parent c6136d612f
commit a10ee73e99
3 changed files with 14 additions and 9 deletions

View File

@@ -214,7 +214,7 @@ std::string decodeString(std::string encodedString) {
return result;
}
//-----------------------------------------------------------------------------
// Encode URLEncoded std::string
// HTMLEncode std::string
//-----------------------------------------------------------------------------
std::string encodeString(std::string decodedString) {
unsigned int len = sizeof(char) * decodedString.length() * 5 + 1;