From af2add1a19e423e61910992331fc759bddce855f Mon Sep 17 00:00:00 2001 From: nowrep Date: Sun, 4 Mar 2012 21:59:56 +0100 Subject: [PATCH] Fixed not sending Referer header to servers. Closes #299 --- src/lib/network/networkmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/network/networkmanager.cpp b/src/lib/network/networkmanager.cpp index 97a2a95fe..81f6b103f 100644 --- a/src/lib/network/networkmanager.cpp +++ b/src/lib/network/networkmanager.cpp @@ -327,7 +327,7 @@ QNetworkReply* NetworkManager::createRequest(QNetworkAccessManager::Operation op } if (!m_sendReferer) { - req.setRawHeader("Referer", ""); + req.setRawHeader("Referer", QByteArray()); } req.setRawHeader("Accept-Language", m_acceptLanguage);