Closed Bug 444255 Opened 16 years ago Closed 16 years ago

HTML form control input type=file truncates path shows only filename

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 405630

People

(Reporter: aevargareg, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0

Create an HTML document with a form.  The form includes two controls, an input box for filename and a button to execute a script.  Although the input box displays the full path and filename, when the button is clicked and displays the filename the path is missing.  In FF2 the full filename is retained.

Reproducible: Always

Steps to Reproduce:
1. Open the HTML document in FF3.
2. Click the Browse button and select any file on the local PC.
3. Click the Display button, which displays a popup with the filename only.
Actual Results:  
Only the filename is shown in the window, although the input box contains the full path.

Expected Results:  
The full path should be visible.
Save this file to your hard drive and open it with FF3.  The embedded script's only function is to display an alert.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: