Closed
Bug 315528
Opened 19 years ago
Closed 19 years ago
non-ASCII file names are submitted incorrectly
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 136676
People
(Reporter: imoicianu, Unassigned)
Details
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7 when submitting a FILE from a form (in a utf8 page) and teh file is named with non-ASCII characters, the special characters are replaced with "_" on submission Reproducible: Always Steps to Reproduce: 1.create a .php page with utf-8 (or ISO-8859-7) charset 2.build a form containing a FILE field 3.insert a: var_dump ($_FILES); die(); code into your page in order to see how the name of the file gets submitted 4. load the page into Firefox browser; make usre the encoding of the browser is set to utf8 or Greek for the current page 5. fill the form fields with necessary info 6. in the FILE field, browse for a file named with non-ASCII craracters (I used Greek characters); if you don't have such a file, you can just browse for a normal file, then replace its name by copy+paste-ing a non-ASCII name form a web site 7. click on Submit Actual Results: the name of the file gets submitted with the name containing "_" (underscore) characters insetad of any non-ASCII original characters Expected Results: the original non-ASCII name of the file should kept on submition I've tried to change the Date and Regional settings from Windows to other values but this does not affect the behaviour
Comment 1•19 years ago
|
||
Dup of bug 312464?
Assignee: nobody → form-submission
Component: Form Manager → HTML: Form Submission
Product: Firefox → Core
QA Contact: form.manager → ian
Version: unspecified → 1.7 Branch
Comment 2•19 years ago
|
||
*** This bug has been marked as a duplicate of 136676 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Updated•5 years ago
|
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•