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

WebUI: Use case insensitive parameters for POST requests

This commit is contained in:
Gabriele 2014-12-14 10:00:00 +01:00
parent 6211a9855a
commit f89baa4cf5

View File

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