1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-23 13:04:23 +00:00

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)); 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;