Commit 030d5a49 authored by jan.koester's avatar jan.koester
Browse files

cleanups

parent d03b0e4e
Loading
Loading
Loading
Loading
+1 −1
Changes for src/http.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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"},
@@ -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;