Closed Bug 58930 Opened 24 years ago Closed 24 years ago

POST with enctype=multipart/form-data leaves a temp file

Categories

(Core :: DOM: Core & HTML, defect, P1)

defect

Tracking

()

VERIFIED DUPLICATE of bug 15320

People

(Reporter: gagan, Assigned: pollmann)

References

()

Details

(Keywords: privacy, Whiteboard: [rtm need info])

I couldn't find a dup bug for this one and so am recording what I found. Using a
post request with an encoding type of multipart/form-data leaves a temporary
file behind.

In order to see this,
-clean out your /tmp (or $TEMP) directory.
-click on this link above
-click submit on that page
-check to see a 'formpost' file in your temp directory!

Am leaving this as Linux (which is where I tested) but I believe this would be
all platforms.
Subsequent posts add a number to the 'formpost' file. Adding privacy, rtm
keywords and cc'ing mstoltz.
Keywords: privacy, rtm
Also on Win2k.

To reproduce:
- Exit all apps
- Clean %TEMP
- start Mozilla
- go to http://gemal.dk/browserspy/upload.html
- upload a file
- press stop
- exit Mozilla

a file called "formpost" exits that contained the entire file you tried to send.
OS: Linux → All
Hardware: PC → All
Marking rtm need info.
Setting Priority to P1, based on security issue of leaving around a file with
all of the post data.
Priority: P3 → P1
Whiteboard: [rtm need info]
This is bug 15320.  Marking it a duplicate...

*** This bug has been marked as a duplicate of 15320 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Verified dupe.
Status: RESOLVED → VERIFIED
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.