Fixed the bug introduced by latest bugfix. m(
the build was successful Details

We included ?/& in the search, but forgot to set the pos +1 char to
the right.
This commit is contained in:
tastytea 2019-02-28 19:05:27 +01:00
parent 79ed6d6432
commit 1a4ebaf024
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ const string http::get_parameter(const string &request, const string &parameter)
}
if (pos != std::string::npos)
{
pos += (1 + parameter.length());
pos += (2 + parameter.length());
return request.substr(pos, request.find('&', pos));
}