Closed
Bug 342052
Opened 20 years ago
Closed 14 years ago
The content of a file upload is empty if the file name include characters not in the system locale ACP
Categories
(Firefox :: File Handling, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: FrankTang+bugzilla, Assigned: mayhemer)
References
Details
Attachments
(1 file)
|
37.50 KB,
image/jpeg
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4
When upload a file via form <input type="file"> if the name of the file include characters not in the set of the system locale ACP, the content of the file wil be empty.
This is NOT a bug in bugzilla but a bug in FireFox. We can reproduce in many other web site.
Reproducible: Always
Steps to Reproduce:
1. create a simple text file and put "test test" in it, save it as file name "Ξρţιrρεţξφρεļξ�εţξφρ.txt" (notice the accent below ţ and ļ )
2. attach this file to bugzilla
3.
Actual Results:
The content of this file is empty
Expected Results:
The content of this file should have "test test"
| Reporter | ||
Comment 1•20 years ago
|
||
try to attach the file, notice the file named CHANGED to "C:\Documents and Settings\ftang\Desktop\Осtйrсеtоцсеlоћеtоцс.txt" (ţ -> t, ļ -> l ) in the attachement window once you select the file. the file named you select is "Осţйrсеţоцсеļоћеţоцс.txt" but the one you see in the form bdlow "Enter the path to the file on your computer." is already change to "Осtйrсеtоцсеlоћеtоцс.txt" (ţ -> t, ļ -> l )
If you try to open the file in FireFox, you will also have problem. But you can open the file with NotePad or other MS window application without problem.
Comment 2•20 years ago
|
||
This may well be a dupe of a bug already fixed on trunk and 1.8 branch. Can you reproduce it in a nightly build?
Comment 3•19 years ago
|
||
I've seen this reproduce on MacOSX as well.
In my tests, I've gotten empty files from uploads of any filename containing Japanese kana with "dakuten" (the Japanese equivalent of diacritical marks - they change "ka" to "ga", etc). Other problems of this ilk have sometimes depended on there being multiple instances of these characters in the filename, but I have not tested this.
We've been able to determine that we are definitely being sent a 0 byte file from the browser and we're not screwing things up on our end.
I'm uploading from OS10.4.8 with Japanese set as the system language.
> This may well be a dupe of a bug already fixed on trunk and 1.8 branch. Can you
> reproduce it in a nightly build?
Yup. As of today (10/06/2006 - PDT) this reproduces on the nightly build. I don't think it's related to the bug you mention (162361 I think?)
Comment 4•19 years ago
|
||
Comment 5•19 years ago
|
||
Reporter, do you still see this problem with the latest Firefox 2? If not, can you please close this bug as WORKSFORME. Thanks!
Whiteboard: CLOSEME 07/14
Version: unspecified → 1.5.0.x Branch
Comment 6•19 years ago
|
||
I dunno about REPORTER, but for me it still happens on Firefox 2.0.04 from OSX.
Updated•19 years ago
|
Whiteboard: CLOSEME 07/14
Version: 1.5.0.x Branch → 2.0 Branch
Comment 8•18 years ago
|
||
As per bug 400812, this is still happening in trunk builds. Perhaps this is either a blocker or wanted bug for Firefox 3?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: blocking-firefox3?
Comment 9•18 years ago
|
||
I first noticed it in the "Mozilla/5.0 (Macintosh; U; Intel Mac OS X; es-ES; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8" build, and later on I checked it in the nightly build "Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US;
rv:1.9a9pre) Gecko/2007102204 Minefield/3.0a9pre".
I don't know anything about blocker or wanted bugs, I just wanted to report it.
Comment 10•18 years ago
|
||
Changing OS to All, since this has been reported on OS X now
OS: Windows XP → All
Version: 2.0 Branch → Trunk
Comment 11•18 years ago
|
||
Not blocking Firefox 3, but we'd take a safe fix.
Flags: blocking-firefox3? → blocking-firefox3-
Whiteboard: [wanted-firefox3]
Updated•18 years ago
|
Flags: wanted-firefox3+
Whiteboard: [wanted-firefox3]
| Assignee | ||
Comment 12•17 years ago
|
||
I'd like to reproduce this bug but so far unsuccessfully using several variations of CGI perl scripts running on IIS, WinXP and NTFS partition where from/to files are uploaded/downloaded (FF3.0.4, FF2.0.0.12). Also tested from OS X (FF3.1b2pre). Can you please give me a way to create a file with name causing the problem and also a web page where the problem appears?
Filenames I was testing with:
Ξρţιrρεţξφρεļξ�εţξφρ.txt
áíýěšáíýěščáíěéěšáíč.txt
ƒ”ƒ”ƒ”ƒ”ƒ”ƒ”ƒ”.jpg
äáà.pdf
Note the <?> char in the first one taken from comment 0. It is the replacement character but it seems reporter has some mess on its disk. Isn't that case of the problem?
Assignee: nobody → honzab.moz
| Assignee | ||
Comment 13•14 years ago
|
||
Not sure this still is a problem, but not being able to reproduce and not getting any more information I'm closing this as WONTFIX.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•