Don't convert POST parameter names to lower-case

This commit is contained in:
Vladimir Golovnev (Glassez) 2018-02-18 19:57:48 +03:00
parent 29042e4841
commit a0842a1e68
No known key found for this signature in database
GPG key ID: 52A2C7DEE2DFA6F7

View file

@ -217,7 +217,7 @@ bool RequestParser::parseContent(const QByteArray &data)
QListIterator<QPair<QString, QString> > i(QUrlQuery(url).queryItems(QUrl::FullyDecoded));
while (i.hasNext()) {
QPair<QString, QString> pair = i.next();
m_request.posts[pair.first.toLower()] = pair.second;
m_request.posts[pair.first] = pair.second;
}
return true;