Bug 413299 - applications are application/octet-stream, not application/object-stream, r=mscott

This commit is contained in:
philringnalda%gmail.com 2008-01-22 01:33:59 +00:00
Родитель 8ad2310659
Коммит 6021d5b003
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -100,7 +100,7 @@ var gChangeActionDialog = {
// We don't let users open .exe files or random binary data directly
// from the browser at the moment because of security concerns.
var mimeType = this._item.mimeInfo.MIMEType;
if (mimeType == "application/object-stream" ||
if (mimeType == "application/octet-stream" ||
mimeType == "application/x-msdownload") {
document.getElementById("openApplication").disabled = true;
document.getElementById("openDefault").disabled = true;