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:
parent
29042e4841
commit
a0842a1e68
@ -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…
x
Reference in New Issue
Block a user