Closed Bug 374015 Opened 17 years ago Closed 17 years ago

<input type=file> should not expose file path to scripts

Categories

(Core :: Layout: Form Controls, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 143220

People

(Reporter: BijuMailList, Unassigned)

Details

For <input id=photofile type=file>
document.getElementById("photofile").value

give output like "C:\downloads\photos\IMG_0201.JPG"

question: Why should browser give out files path to the web site script?

I think file name "IMG_0201.JPG" is more than sufficient.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.