QNetworkAccessFtpBackend: remove entry from QNetworkAccessCache
authorMartin Petersson <Martin.Petersson@nokia.com>
Tue, 27 Mar 2012 15:14:24 +0000 (17:14 +0200)
committerQt by Nokia <qt-info@nokia.com>
Sun, 1 Apr 2012 12:13:45 +0000 (14:13 +0200)
commit3dbf98c715ed6941ca41eb85981a6afccab489a6
treeb2447892ba634c9606dbc8769895e0b14faef31e
parente6f7852bb40b06bb7df469542a2c4c1e2850c43b
QNetworkAccessFtpBackend: remove entry from QNetworkAccessCache

When FTP login fails we fail to remove the entry from the cache.
This is because the cache key is created from the url with the
userInfo. So this needs to be set again to match the key used
when inserted.

Task-number: QTBUG-11824
Change-Id: Ib3fd2d737581653ae59c56d0810d42e2d8dc2176
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
src/network/access/qnetworkaccessftpbackend.cpp
tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp