From 9422cdea544ce3b7b669fd69563447417ec09318 Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Mon, 25 Jan 2021 09:47:33 +0100 Subject: [PATCH] Dirty fix for #343. --- src/librssguard/network-web/basenetworkaccessmanager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/librssguard/network-web/basenetworkaccessmanager.cpp b/src/librssguard/network-web/basenetworkaccessmanager.cpp index 0ed338fb0..345d9c7ad 100644 --- a/src/librssguard/network-web/basenetworkaccessmanager.cpp +++ b/src/librssguard/network-web/basenetworkaccessmanager.cpp @@ -58,6 +58,8 @@ QNetworkReply* BaseNetworkAccessManager::createRequest(QNetworkAccessManager::Op new_request.setAttribute(QNetworkRequest::Attribute::FollowRedirectsAttribute, true); #endif + new_request.setRawHeader(QSL("Cookie").toLocal8Bit(), QSL("JSESSIONID= ").toLocal8Bit()); + // Setup custom user-agent. new_request.setRawHeader(HTTP_HEADERS_USER_AGENT, QString(APP_USERAGENT).toLocal8Bit());