Browse Source

WebUI: Use case insensitive parameters for POST requests

adaptive-webui-19844
Gabriele 10 years ago
parent
commit
f89baa4cf5
  1. 2
      src/webui/httprequestparser.cpp

2
src/webui/httprequestparser.cpp

@ -243,7 +243,7 @@ bool HttpRequestParser::parseContent(const QByteArray& data)
while (i.hasNext()) while (i.hasNext())
{ {
QPair<QString, QString> pair = i.next(); QPair<QString, QString> pair = i.next();
request_.posts[pair.first] = pair.second; request_.posts[pair.first.toLower()] = pair.second;
} }
return true; return true;

Loading…
Cancel
Save