Open Bug 470138 Opened 17 years ago Updated 2 years ago

Firefox leaves behind /tmp/*.special.part files every time a .special file is opened

Categories

(Toolkit :: Downloads API, defect)

x86
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: mozilla, Unassigned)

References

()

Details

User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; X11; Linux i686; en) Opera 9.62 Build Identifier: Mozilla/5.0 Rev 1.9.0.4 Gecko/2008111318 Ubuntu 8.10 Firefox/3.0.4 (not identical, no copy and paste from virtual machine) I am using Firefox as a menu system, where a special exetension such as .special has been set up in ~/.mime.types and then set to load with a Bash script. The launching with the Bash script works fine, the Bash script receives the name of the file as the first argument. The problem is that every time one of these .special files is opened, Firefox creates a file in /tmp, with a random name and the extension of ".special.part", every time. /tmp is quickly flooded with hundreds of entries. Reproducible: Always Steps to Reproduce: 1. Load my main HTML menu file, which contains basic links such as <a href="FooBar.special">FooBar</a> 2. Click on one of these links Actual Results: A file such as /tmp/BnUXmOiy.special.part is created. It remains there until reboot or manual removal. Expected Results: Not created any files in /tmp, instead simply passing the filename to the local program. The drop down said "This component does not cover the Download Manager which has its own component", but I saw no "Download Manager" component listed in the drop-down, so I selected File Handling anyway. Some related but not the same bug reports: Bug 359181 Bug 420355 Bug 58979 Bug 77810
Component: File Handling → Download Manager
Product: Firefox → Toolkit
QA Contact: file.handling → download.manager
Severity: normal → S3

I could observe this bug with current firefox 119.0 when accessing local html-files (file:///...) which had a-links to videos (i.e. not per video element) in it. When watching the videos from the browser by selecting vlc or mpv as player instead of downloading the file I got an empty *.mpg.part file with * some random string

You need to log in before you can comment on or make changes to this bug.