mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 04:49:47 -07:00
WebUI: Use case insensitive parameters for POST requests
This commit is contained in:
parent
6211a9855a
commit
f89baa4cf5
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue