From 5fc3aa17b96c47d71dd81cbf2964111e62209a99 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 21 Nov 2010 17:36:49 +0000 Subject: [PATCH] Fix HTTP redirect issue that would cause the torrent addition to show up for automated RSS downloads (Closes #677565) --- src/downloadthread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/downloadthread.cpp b/src/downloadthread.cpp index c4251f0e1..cd604283b 100644 --- a/src/downloadthread.cpp +++ b/src/downloadthread.cpp @@ -52,7 +52,7 @@ downloadThread::downloadThread(QObject* parent) : QObject(parent) { } void downloadThread::processDlFinished(QNetworkReply* reply) { - QString url = reply->url().toEncoded().data(); + QString url = reply->url().toString(); qDebug("Download finished: %s", qPrintable(url)); if(reply->error() != QNetworkReply::NoError) { // Failure