mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-21 07:57:22 -06:00
WebUI: Use case insensitive parameters for POST requests
This commit is contained in:
@@ -243,7 +243,7 @@ bool HttpRequestParser::parseContent(const QByteArray& data)
|
|||||||
while (i.hasNext())
|
while (i.hasNext())
|
||||||
{
|
{
|
||||||
QPair<QString, QString> pair = i.next();
|
QPair<QString, QString> pair = i.next();
|
||||||
request_.posts[pair.first] = pair.second;
|
request_.posts[pair.first.toLower()] = pair.second;
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user