Closed
Bug 334868
Opened 20 years ago
Closed 17 years ago
When I enter backslash (\) in a file picker, Firefox should assume I mean slash (/)
Categories
(Firefox :: General, enhancement)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: jiafu_gao, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2
When I click a download button in a webpage, FF ask to input the file name. If I type in:
\home\user\path\myfile.ext
Firefox will happily save the file with name "\home\user\path\myfile.ext". However, the user clearly meant to save it as myfile.ext in path /home/user/path. I know '\' is valid char in file, but considering the Windows's usage of backslash as path separator, we can reasonably assume here \ means / indeed.
FF can quitely convert \ to /, or give users warnings and an chance to make the change manually.
Reproducible: Always
Steps to Reproduce:
1. Click a link/button that does a download
2. (With Always ask when download file enabled) type in
\home\user\path\myfile.ext in the File Name:
3. Click OK
Actual Results:
FF Save the file as "\home\user\path\myfile.ext"
Expected Results:
It should save it as myfile.ext in /home/user/path instead or give a warning to user for manual change.
Note that the following info is incorrect:
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.2)
The cause is that I am filing a bug for Firefox on linux on a Windows machine.
Updated•20 years ago
|
Severity: normal → enhancement
Summary: Improper handling of Backslash in filename → When I enter backslash (\) in a file picker, Firefox should assume I mean slash (/)
Comment 2•20 years ago
|
||
We don't even convert the \ into a / in a URL, so why should we do it in the download dialogbox ? And then how would I be able to save a file with a backslash inside ?
recommend WONTFIX
Comment 3•20 years ago
|
||
(In reply to comment #2)
> We don't even convert the \ into a / in a URL, so why should we do it in the
> download dialogbox ? And then how would I be able to save a file with a
> backslash inside ?
>
> recommend WONTFIX
>
I would agree with that. We're not trying to make Linux work like Windows.
If you really want more discussion on this, Jiafu, I'd recommend floating it in mozilla.dev.apps.firefox on news.mozilla.org, but I don't think you'll get a positive response.
Comment 4•17 years ago
|
||
We use native filepickers on Linux now, so this isn't even in our control, but either way I'd WONTFIX it.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•