Fix HTTP redirect issue that would cause the torrent addition to show up for automated RSS downloads (Closes #677565)

This commit is contained in:
Christophe Dumez
2010-11-21 17:38:48 +00:00
parent 476b395166
commit 2b45e1baa3
2 changed files with 3 additions and 1 deletions

View File

@@ -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 <chris@qbittorrent.org> - v2.4.10
- BUGFIX: Fix possible crash when selecting a RSS item (really closes #575624)

View File

@@ -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