Closed
Bug 297304
Opened 20 years ago
Closed 20 years ago
corrupt filename when uploading file with japanese characters
Categories
(Firefox :: Shell Integration, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 162361
People
(Reporter: whois, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; sv-SE; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; sv-SE; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Trying to upload the file "な.gif" thru a file upload form, results in this:
Content-Disposition: form-data; name="file"; filename="_.gif"
Also, no file is sent.
The form is validated xhtml1 strict and everything works correct in IE6 and
Opera8 with the same form and file.
The http:
POST /%E3%81%A9%E3%81%AA/%E3%82%82%E8%A8%98%E4%BA%8B%E3%82%92 HTTP/1.1
Host: myhost.test
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; sv-SE; rv:1.7.8)
Gecko/20050511 Firefox/1.0.4
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: sv,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://myhost.test/%E3%81%A9%E3%81%AA/%E3%82%82%E8%A8%98%E4%BA%8B%E3%82%92
Cookie: SESSION=qjlauacihatk29ct4scrfm7lv4
Content-Type: multipart/form-data;
boundary=---------------------------23281168279961
Content-Length: 534
-----------------------------23281168279961
Content-Disposition: form-data; name="MAX_FILE_SIZE"
2000000
-----------------------------23281168279961
Content-Disposition: form-data; name="resources-action"
1
-----------------------------23281168279961
Content-Disposition: form-data; name="file"; filename="_.gif"
Content-Type: application/octet-stream
-----------------------------23281168279961
Content-Disposition: form-data; name="upload-resources"
Start upload
-----------------------------23281168279961--
Reproducible: Always
Steps to Reproduce:
1. Upload a file thru web form.
2. Choose a file with japanese characters in the filename.
3. Submit the form.
Actual Results:
Wrong filename sent, no file submitted.
When looking in the file upload text field, the filename is wrong in the same
way (like "_.gif"). Replacing this string with the correct filename will still
create the same problem with no difference.
Expected Results:
Uploaded the file, and sent the correct filename (encoded as UTF-8).
Comment 1•20 years ago
|
||
*** This bug has been marked as a duplicate of 162361 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•