NOISSUE fix bad redirect URLs provided by the curse CDN

MultiMC now parses the HTTP Location header in a (more) tolerant mode.
This commit is contained in:
Petr Mrázek
2018-01-21 03:49:54 +01:00
parent 0942867ecc
commit c33b4e252f
4 changed files with 50 additions and 4 deletions

View File

@ -327,6 +327,7 @@ void InstanceImportTask::processFlame()
case Flame::File::Type::SingleFile:
case Flame::File::Type::Mod:
{
qDebug() << "Will download" << result.url << "to" << path;
auto dl = Net::Download::makeFile(result.url, path);
m_filesNetJob->addNetAction(dl);
break;