Closed Bug 357328 Opened 18 years ago Closed 18 years ago

*.run files show only code instead of downloading the file

Categories

(Toolkit :: Downloads API, defect)

x86
Linux
defect
Not set
minor

Tracking

()

RESOLVED INVALID

People

(Reporter: schicksa1, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.8.1) Gecko/20060601 BonEcho/2.0 (Ubuntu-edgy) Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.8.1) Gecko/20060601 BonEcho/2.0 (Ubuntu-edgy) If I try to download *.run files i see only code. The bug is in every Firefox Version i tried. Reproducible: Always Steps to Reproduce: 1.type url 2.press enter or "go"-button 3. Actual Results: It show code. Expected Results: Download the file. With a extern download manager you can solve the problem, when you type the url in an extern download manager (I use WebDownloader for X). The workaround is not using Firefox download manager.
HTTP headers sent by the server: Location: ftp://ftp2:ftp2@ftp2.extreme-players.de/Games/et/patches/et-linux-2.60.x86.run Content-Type: text/html; charset=ISO-8859-1 Firefox obeys the Content-Type and opens the file as text/html Resolve as invalid or change product to Tech Evangelism, the server needs to send whatever headers are appropriate for the given .run file.
Most .run files are text files, so some servers that don't know better to use a different mimetype for them use text/plain or text/html. Debian 4, nginx uses application/x-makeself, so Firefox wants to save the file; Apache 1.3 doesn't have .run in mime.types, so it tells Firefox it's text/plain. This is INVALID for Mozilla Bugzilla, but not for the servers' - if they don't have such bug filed yet, you can do that.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → INVALID
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.