Loading src/http.cpp +1 −1 Changes for src/http.cpp: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -1437,6 +1437,7 @@ const char *libhttppp::HttpForm::getContentType(){ return _ContentType; } void libhttppp::HttpForm::urlEncode(const std::string &in,std::string &out){ const char *codetable[][2]={ {" " ,"+"}, {"%","%25"}, Loading @@ -1445,7 +1446,6 @@ const char *codetable[][2]={ {"@","%40"} }; void libhttppp::HttpForm::urlEncode(const std::string &in,std::string &out){ for (size_t i = 0; i < in.length(); ++i) { bool encoded = false; Loading Loading
src/http.cpp +1 −1 Changes for src/http.cpp: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -1437,6 +1437,7 @@ const char *libhttppp::HttpForm::getContentType(){ return _ContentType; } void libhttppp::HttpForm::urlEncode(const std::string &in,std::string &out){ const char *codetable[][2]={ {" " ,"+"}, {"%","%25"}, Loading @@ -1445,7 +1446,6 @@ const char *codetable[][2]={ {"@","%40"} }; void libhttppp::HttpForm::urlEncode(const std::string &in,std::string &out){ for (size_t i = 0; i < in.length(); ++i) { bool encoded = false; Loading