From 2b45e1baa34fed78f2aa00c21c8a00ecbe125651 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 21 Nov 2010 17:38:48 +0000 Subject: [PATCH] Fix HTTP redirect issue that would cause the torrent addition to show up for automated RSS downloads (Closes #677565) --- Changelog | 2 ++ src/downloadthread.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Changelog b/Changelog index cef673cf3..ab9438bca 100644 --- a/Changelog +++ b/Changelog @@ -4,6 +4,8 @@ - BUGFIX: Fix possible incorrect behavior with queueing - BUGFIX: Fix RSS refresh interval saving - BUGFIX: Fix possible crash when setting RSS proxy (closes #676288) + - BUGFIX: Fix HTTP redirect issue that would cause the torrent addition to + show up for automated RSS downloads (Closes #677565) * Wed Nov 10 2010 - Christophe Dumez - v2.4.10 - BUGFIX: Fix possible crash when selecting a RSS item (really closes #575624) diff --git a/src/downloadthread.cpp b/src/downloadthread.cpp index 3308213fe..d53b5268f 100644 --- a/src/downloadthread.cpp +++ b/src/downloadthread.cpp @@ -51,7 +51,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