Browse Source

Don't convert POST parameter names to lower-case

adaptive-webui-19844
Vladimir Golovnev (Glassez) 7 years ago
parent
commit
a0842a1e68
No known key found for this signature in database
GPG Key ID: 52A2C7DEE2DFA6F7
  1. 2
      src/base/http/requestparser.cpp

2
src/base/http/requestparser.cpp

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

Loading…
Cancel
Save