diff --git a/browser/components/downloads/src/DownloadsCommon.jsm b/browser/components/downloads/src/DownloadsCommon.jsm index fd8e6655014..61b16c0b0c1 100644 --- a/browser/components/downloads/src/DownloadsCommon.jsm +++ b/browser/components/downloads/src/DownloadsCommon.jsm @@ -437,7 +437,7 @@ this.DownloadsCommon = { } if (showAlert) { - let name = this.dataItem.target; + let name = aFile.leafName; let message = DownloadsCommon.strings.fileExecutableSecurityWarning(name, name); let title =