mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 13:23:34 -07:00
Fix HTTP request parsing on Qt5.
This commit is contained in:
parent
b198c074d6
commit
268562bff3
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ void HttpRequestParser::writeMessage(const QByteArray& ba) {
|
|||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
|
||||
QString tmp(m_data);
|
||||
QUrlQuery query(tmp);
|
||||
QListIterator<QPair<QString, QString> > i(query.queryItems());
|
||||
QListIterator<QPair<QString, QString> > i(query.queryItems(QUrl::FullyDecoded));
|
||||
#else
|
||||
url.setEncodedQuery(m_data);
|
||||
QListIterator<QPair<QString, QString> > i(url.queryItems());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue