mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-29 19:18:42 -07:00
Fixed bug when uploading several files and only the last one was considered.
This commit is contained in:
parent
db459b2400
commit
c9293dd2d1
2 changed files with 3 additions and 2 deletions
|
@ -319,7 +319,7 @@ bool RequestParser::parseFormData(const QByteArray& data)
|
|||
ufile.type = disposition["content-type"];
|
||||
ufile.data = data.mid(header_end + EOH.length());
|
||||
|
||||
m_request.files[disposition["name"]] = ufile;
|
||||
m_request.files.append(ufile);
|
||||
}
|
||||
else {
|
||||
m_request.posts[disposition["name"]] = QString::fromUtf8(data.mid(header_end + EOH.length()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue