Closed Bug 303852 Opened 19 years ago Closed 18 years ago

Empty file and wrong file name when the file name contains certain characters

Categories

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

x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 66041

People

(Reporter: minghong, Unassigned)

References

Details

(Keywords: dataloss)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b3) Gecko/20050712 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b3) Gecko/20050712 Firefox/1.0+

This bug sounds similar to bug 273225. But I'm not certain, so I'm filing a new
one here. This bug only occur in Windows.

The unsupported character is replaced with a underscore (_), and the file size
becomes zero.

In my case, I'm using a Chinese (simpified) version of Windows and the file name
is also in Chinese (simpified). So it seems to be rather ridicious that Firefox
can't resolved such path.

I set this as critical since it results in data loss.

Reproducible: Always

Steps to Reproduce:
1. Upload a file with the character "达", a Chinese (simpified) character
2. As a control, copy that file and remove it to something safe, e.g. English name
3. Upload them together

Actual Results:  
The character "达" is replaced witj "_".
The file size of that file becomes zero.

Expected Results:  
Same result as the control file.
Keywords: dataloss
Change the character encoding of this page to "UTF-8" to see the character "达".
Summary: Empty file and wrong file name when the file name contains certian characters → Empty file and wrong file name when the file name contains certain characters
Depends on: 273225
*** Bug 327281 has been marked as a duplicate of this bug. ***

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