mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 19:40:18 -07:00
parent
7bfe08d466
commit
90f09e7570
1 changed files with 1 additions and 1 deletions
|
@ -291,7 +291,7 @@ bool RequestParser::parseFormData(const QByteArray &data)
|
||||||
const QLatin1String name("name");
|
const QLatin1String name("name");
|
||||||
|
|
||||||
if (headersMap.contains(filename)) {
|
if (headersMap.contains(filename)) {
|
||||||
m_request.files.append({filename, headersMap[HEADER_CONTENT_TYPE], payload});
|
m_request.files.append({headersMap[filename], headersMap[HEADER_CONTENT_TYPE], payload});
|
||||||
}
|
}
|
||||||
else if (headersMap.contains(name)) {
|
else if (headersMap.contains(name)) {
|
||||||
m_request.posts[headersMap[name]] = payload;
|
m_request.posts[headersMap[name]] = payload;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue