Closed Bug 264688 Opened 20 years ago Closed 8 years ago

Don't always attach .html extension to a file name

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: r_rom, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1

Firefox adds unnecessary .html extension to file name that already have
extension. For example, I was saving a .shtml file, and Firefox was attaching a
.html extension to the end on the file name, forcing me to manually edit the
file name. This mechanism can be made smarter and more convenient.

Reproducible: Always
Steps to Reproduce:
Same thing with Mozilla. See bug 147679. Similiar to bug 142102. Mozilla/FF
looks up the extension for the MIME-type text/html and adds this (because for
shtml you don't have an content-type entry in the windows registry).
I see this too in Firefox 1.0. Go to
http://lxr.mozilla.org/mozilla/source/security/nss/cmd/ssltap/

and try to download a file. It is impossible to save it without an html extension!
This happens even if you remove the extansion in the save as dialog.
This is a real killer if you have to download code!
Status: UNCONFIRMED → NEW
Ever confirmed: true
I think the problem with my link is the lxx parser since the same thing happens
with IE. It is impossible to get the code without it being transformed into
html. So I am filing a separate bug.
Assignee: bross2 → nobody
Tried with an .shtml file and got no extra extension. Closing.
You can try with Save link as for all the menu items in http://www.tortoisecvs.org/ for example..

Arch Linux, FF 50.1.0
Win 10, FF 50.1.0
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.