Bug 1139924 - Dooming an unloaded HTTP cache entry by its URL may fail. r=michal

This commit is contained in:
Honza Bambas 2015-03-05 08:42:00 -05:00
parent 1a310f1824
commit b14a828424

View File

@ -251,7 +251,7 @@ nsresult CacheEntry::HashingKey(nsCSubstring const& aStorageID,
* Changing it will cause we will not be able to find files on disk.
*/
aResult.Append(aStorageID);
aResult.Assign(aStorageID);
if (!aEnhanceID.IsEmpty()) {
CacheFileUtils::AppendTagWithValue(aResult, '~', aEnhanceID);