mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-03 02:14:16 +00:00
Fix HTTP request parsing on Qt5.
This commit is contained in:
parent
b198c074d6
commit
268562bff3
@ -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…
x
Reference in New Issue
Block a user