This commit is contained in:
Tatsuhiro Tsujikawa 2013-11-06 23:40:59 +09:00
parent 9f5fdb4e10
commit 2aa8e01836
4 changed files with 15 additions and 15 deletions

View file

@ -254,7 +254,7 @@ bool HttpResponseCommand::executeInternal()
fe->setLength(totalLength);
if (fe->getPath().empty()) {
fe->setPath(util::createSafePath(getOption()->get(PREF_DIR),
httpResponse->determinFilename()));
httpResponse->determineFilename()));
}
fe->setContentType(httpResponse->getContentType());
grp->preDownloadProcessing();