Closed Bug 81174 Opened 23 years ago Closed 8 years ago

input type="file" should only show filename, not path, on Mac OS [form sub]

Categories

(Core :: DOM: Core & HTML, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: mpt, Unassigned)

Details

Build: 2001051504, Mac OS 9.1 To reproduce: * Click the `Create a new attachment' link in this bug report. * Click the `Browse...' button, and choose the `Clipboard' file in your System Folder. * Look in the text field nest to the `Browse...' button. What you see: * `Macintosh HD:System Folder:Clipboard'. What you should see: * `Clipboard'. On Mac OS, full paths to files should only be shown in emergencies.
Keywords: 4xp
eric, I think you did some work with this.
Assignee: rods → pollmann
To clarify, this bug is about the text displayed in the input next to the Browse... button, and *not* the filename that is submitted to the server, correct?
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Bulk reassigning form bugs to Alex
Assignee: pollmann → alexsavulov
Status: ASSIGNED → NEW
Summary: input type="file" should only show filename, not path, on Mac OS → input type="file" should only show filename, not path, on Mac OS [form sub]
Input type="file" should only show filename, not path, also occurs in ALL WINDOWS OS's. STEPS to DUPLICATE: 1. Open Browser 2. Go to URL http://bubblegum.mcom.com/browser/standards/form-controls/tcase/Transitional-doctype/inputFile.htm 3. click on Browse button and select file. Path shows in the input text field along with filename.
Component: Layout: Form Controls → Form Submission
->
Assignee: alexsavulov → form-submission
This bug is targeted at a Mac classic platform/OS, which is no longer supported by mozilla.org. Please re-target it to another platform/OS if this bug applies there as well or resolve this bug. I will resolve this bug as WONTFIX in four weeks if no action has been taken. To filter this and similar messages out, please filter for "mac_cla_reorg".
OS: Mac System 9.x → All
Hardware: Macintosh → All
this is a dup of bug 143220
Fixing bug 143220 might fix this bug, or it might not. But this bug will be valid even if that one ends up Invalid, so they're not really duplicates.
Assignee: form-submission → nobody
QA Contact: vladimire → form-submission
The fix for bug 143220 has fixed this on all platforms.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
This is not dup of bug 143220 bug 143220 is about access in filename thru JS This one is to change UI to hide dir path of the selected file. And it is not fixed in Win, Linux
Severity: trivial → enhancement
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
I tested on MacOS, Windows and Linux and they all only show the basename and suffix.
Status: REOPENED → RESOLVED
Closed: 15 years ago8 years ago
Resolution: --- → WORKSFORME
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.