This commit is contained in:
Alexander Tretiakov 2019-06-04 23:15:44 +03:00
parent d97c2ccdc8
commit f3ef4666e7
2 changed files with 3 additions and 3 deletions

View File

@ -501,11 +501,11 @@ void HTTPHandler::processQuery(
else if (param_could_be_skipped(key))
{
}
else if (startsWith(it->first, "param_"))
else if (startsWith(key, "param_"))
{
/// Save name and values of substitution in dictionary.
const String parameter_name = it->first.substr(strlen("param_"));
context.setParameterSubstitution(parameter_name, it->second);
const String parameter_name = key.substr(strlen("param_"));
context.setParameterSubstitution(parameter_name, value);
}
else
{

View File