Open
Bug 732729
Opened 13 years ago
Updated 3 years ago
canceling file upload dialog box creates '/' as file to upload
Categories
(Firefox :: File Handling, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: bzb.dev001, Unassigned)
Details
Attachments
(1 file)
|
291 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Build ID: 2012021500
Steps to reproduce:
Regarding a <form> containing <input type="file" ...> in a webpage.
I'm using Firefox 10.0.2 running on openSuse 11.2 64bit linux.
Actual results:
When user clicks on the browse button of such an element, the File dialog shows. But when the user cancels the dialog box via the close button (top right) or the cancel button, a '/' character is shown in the element as the file to upload.
This should not be like that.
Expected results:
I would expect it to be empty or contain the previously valid selected file to upload.
I think this issue could be related to Bug 500409 (https://bugzilla.mozilla.org/show_bug.cgi?id=500409)
Comment 1•13 years ago
|
||
Does the issue still occur if you start Firefox in Safe Mode?
https://support.mozilla.com/en-US/kb/Safe+Mode
Please attach a simple testcase that shows the issue!
| Reporter | ||
Comment 2•13 years ago
|
||
Yes the problem persist when running firefox in safe mode.
To test it, you need to point the browser to an URL that has a file upload tag or create you own HTML page. To create a HTML page to show this issue. Create a HTML page with the below HTML markup. Open the page with firefox. Click on the "browse" button. Click on either the dialogbox close button or the cancel button. You will see "/" in
Description
•