From 268562bff36178e8e422bf8de7fac3f599a422ab Mon Sep 17 00:00:00 2001 From: "Vladimir Golovnev (Glassez)" Date: Wed, 28 May 2014 16:40:56 +0400 Subject: [PATCH] Fix HTTP request parsing on Qt5. --- src/webui/httprequestparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webui/httprequestparser.cpp b/src/webui/httprequestparser.cpp index 6f53980b5..4f185c7b3 100644 --- a/src/webui/httprequestparser.cpp +++ b/src/webui/httprequestparser.cpp @@ -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 > i(query.queryItems()); + QListIterator > i(query.queryItems(QUrl::FullyDecoded)); #else url.setEncodedQuery(m_data); QListIterator > i(url.queryItems());