Closed
Bug 98915
Opened 23 years ago
Closed 23 years ago
file upload leaves a copy of the file in /tmp
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
People
(Reporter: neal, Assigned: rods)
References
()
Details
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010801
BuildID: 2001080104
When uploading a file in an HTML form, the browser leaves around a temporary
file of the form /tmp/formpost-<N> containing the entire contents of the file
you are uploading. This file does not appear to be deleted, at least during the
lifetime of the browser process. If you upload a bunch of big files, you are
left with a bunch of the big temporary files in /tmp.
Reproducible: Always
Steps to Reproduce:
1.Find a web page with form with: <INPUT TYPE="file"...
2.Upload a file using that form
3.look in /tmp
Actual Results: you get a file of the for /tmp/formpost-<N>
Expected Results: Mozilla should delete the temporary file when it's done, for
the sake of disk space and security and sanity.
Reporter | ||
Comment 1•23 years ago
|
||
Ah, looking at the source, i see that the file deletion code is commented out:
http://lxr.mozilla.org/seamonkey/source/layout/html/forms/src/nsFormFrame.cpp#949
That would explain it... :-)
Dupe.
*** This bug has been marked as a duplicate of 15320 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•