diff --git a/src/http.cpp b/src/http.cpp index d49af55..f743d05 100644 --- a/src/http.cpp +++ b/src/http.cpp @@ -113,7 +113,7 @@ const string http::get_parameter(const string &request, const string ¶meter) } if (pos != std::string::npos) { - pos += (1 + parameter.length()); + pos += (2 + parameter.length()); return request.substr(pos, request.find('&', pos)); }