mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
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:
committed by
Michael Liebmann
parent
c6136d612f
commit
a10ee73e99
@@ -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;
|
||||
|
Reference in New Issue
Block a user