Bug 1038465: Pass suggested filename to application reputation query (r=paolo)
This commit is contained in:
@@ -361,8 +361,11 @@ PendingLookup::IsBinaryFile()
|
||||
nsString fileName;
|
||||
nsresult rv = mQuery->GetSuggestedFileName(fileName);
|
||||
if (NS_FAILED(rv)) {
|
||||
LOG(("No suggested filename [this = %p]", this));
|
||||
return false;
|
||||
}
|
||||
LOG(("Suggested filename: %s [this = %p]",
|
||||
NS_ConvertUTF16toUTF8(fileName).get(), this));
|
||||
return
|
||||
// Executable extensions for MS Windows, from
|
||||
// https://code.google.com/p/chromium/codesearch#chromium/src/chrome/common/safe_browsing/download_protection_util.cc&l=14
|
||||
|
||||
Reference in New Issue
Block a user