Closed Bug 440406 Opened 17 years ago Closed 17 years ago

Wrong value returned from file input

Categories

(Firefox :: General, defect)

3.0 Branch
x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 405630

People

(Reporter: shahinv, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.8) Gecko/20061025 Firefox/1.5.0.8 VRE Toolbar 1.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0 Build ID: 2008052906 After choosing a file with file type input, Firefox 3 return only filename as value instead of full url, IE and earlier versions of Firefox return full url. Reproducible: Always Steps to Reproduce: 1. Create a HTML page with following inputs <input type="file" onchange="document.getElementById('mirror').value = this.value;" /> <input type="text" name="fileurl" id="mirror" /> 4. Choose a file like "c:\IO.SYS" 3. Check html page with different browsers Actual Results: IO.SYS Expected Results: c:\IO.SYS
Version: unspecified → 3.0 Branch
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: